Changes of com.discord v889
This commit is contained in:
parent
978663884f
commit
dc8b0b8647
7005 changed files with 392258 additions and 379599 deletions
|
@ -146,15 +146,15 @@
|
|||
:goto_0
|
||||
new-instance v1, Landroid/content/Intent;
|
||||
|
||||
const-string v2, "android.intent.action.VIEW"
|
||||
const-string v2, "http://"
|
||||
|
||||
const-string v3, "http://"
|
||||
invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
|
||||
|
||||
invoke-static {v3}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
|
||||
move-result-object v2
|
||||
|
||||
move-result-object v3
|
||||
const-string v3, "android.intent.action.VIEW"
|
||||
|
||||
invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V
|
||||
invoke-direct {v1, v3, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
|
@ -282,8 +282,6 @@
|
|||
|
||||
invoke-direct {p1, v1, v0, v2}, Landroidx/browser/customtabs/CustomTabsSession;-><init>(Landroid/support/a/b;Landroid/support/a/a;Landroid/content/ComponentName;)V
|
||||
|
||||
return-object p1
|
||||
|
||||
:catch_0
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
|
@ -101,8 +101,6 @@
|
|||
|
||||
invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
|
||||
|
||||
const-string v2, "android.support.customtabs.extra.SESSION"
|
||||
|
||||
if-nez p1, :cond_1
|
||||
|
||||
goto :goto_0
|
||||
|
@ -113,7 +111,9 @@
|
|||
move-result-object v0
|
||||
|
||||
:goto_0
|
||||
invoke-static {v1, v2, v0}, Landroidx/core/app/BundleCompat;->putBinder(Landroid/os/Bundle;Ljava/lang/String;Landroid/os/IBinder;)V
|
||||
const-string p1, "android.support.customtabs.extra.SESSION"
|
||||
|
||||
invoke-static {v1, p1, v0}, Landroidx/core/app/BundleCompat;->putBinder(Landroid/os/Bundle;Ljava/lang/String;Landroid/os/IBinder;)V
|
||||
|
||||
iget-object p1, p0, Landroidx/browser/customtabs/CustomTabsIntent$Builder;->mIntent:Landroid/content/Intent;
|
||||
|
||||
|
@ -282,11 +282,11 @@
|
|||
:cond_1
|
||||
iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsIntent$Builder;->mIntent:Landroid/content/Intent;
|
||||
|
||||
const-string v1, "android.support.customtabs.extra.EXTRA_ENABLE_INSTANT_APPS"
|
||||
iget-boolean v1, p0, Landroidx/browser/customtabs/CustomTabsIntent$Builder;->mInstantAppsEnabled:Z
|
||||
|
||||
iget-boolean v2, p0, Landroidx/browser/customtabs/CustomTabsIntent$Builder;->mInstantAppsEnabled:Z
|
||||
const-string v2, "android.support.customtabs.extra.EXTRA_ENABLE_INSTANT_APPS"
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
|
||||
invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
|
||||
|
||||
new-instance v0, Landroidx/browser/customtabs/CustomTabsIntent;
|
||||
|
||||
|
|
|
@ -116,11 +116,11 @@
|
|||
|
||||
invoke-virtual {p0, v0}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
|
||||
|
||||
const-string v0, "android.support.customtabs.extra.user_opt_out"
|
||||
const/4 v0, 0x1
|
||||
|
||||
const/4 v1, 0x1
|
||||
const-string v1, "android.support.customtabs.extra.user_opt_out"
|
||||
|
||||
invoke-virtual {p0, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
|
||||
invoke-virtual {p0, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
@ -128,23 +128,23 @@
|
|||
.method public static shouldAlwaysUseBrowserUI(Landroid/content/Intent;)Z
|
||||
.locals 2
|
||||
|
||||
const-string v0, "android.support.customtabs.extra.user_opt_out"
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v1, 0x0
|
||||
const-string v1, "android.support.customtabs.extra.user_opt_out"
|
||||
|
||||
invoke-virtual {p0, v0, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
|
||||
invoke-virtual {p0, v1, v0}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
|
||||
|
||||
move-result v0
|
||||
move-result v1
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroid/content/Intent;->getFlags()I
|
||||
|
||||
move-result p0
|
||||
|
||||
const/high16 v0, 0x10000000
|
||||
const/high16 v1, 0x10000000
|
||||
|
||||
and-int/2addr p0, v0
|
||||
and-int/2addr p0, v1
|
||||
|
||||
if-eqz p0, :cond_0
|
||||
|
||||
|
@ -153,7 +153,7 @@
|
|||
return p0
|
||||
|
||||
:cond_0
|
||||
return v1
|
||||
return v0
|
||||
.end method
|
||||
|
||||
|
||||
|
|
|
@ -375,8 +375,6 @@
|
|||
return p1
|
||||
|
||||
:catch_0
|
||||
return v0
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
return v0
|
||||
|
|
|
@ -47,11 +47,11 @@
|
|||
|
||||
iget-object v0, p1, Landroidx/browser/customtabs/CustomTabsIntent;->intent:Landroid/content/Intent;
|
||||
|
||||
const-string v1, "android.support.customtabs.extra.LAUNCH_AS_TRUSTED_WEB_ACTIVITY"
|
||||
const/4 v1, 0x1
|
||||
|
||||
const/4 v2, 0x1
|
||||
const-string v2, "android.support.customtabs.extra.LAUNCH_AS_TRUSTED_WEB_ACTIVITY"
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
|
||||
invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;
|
||||
|
||||
invoke-virtual {p1, p0, p2}, Landroidx/browser/customtabs/CustomTabsIntent;->launchUrl(Landroid/content/Context;Landroid/net/Uri;)V
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue