Changes of com.discord v1181
This commit is contained in:
parent
f52990c3c2
commit
5a8adcbf82
29917 changed files with 1840412 additions and 1765629 deletions
|
@ -6,16 +6,29 @@
|
|||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/browser/customtabs/CustomTabsIntent$Builder;
|
||||
Landroidx/browser/customtabs/CustomTabsIntent$Builder;,
|
||||
Landroidx/browser/customtabs/CustomTabsIntent$ColorScheme;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final COLOR_SCHEME_DARK:I = 0x2
|
||||
|
||||
.field public static final COLOR_SCHEME_LIGHT:I = 0x1
|
||||
|
||||
.field public static final COLOR_SCHEME_MAX:I = 0x2
|
||||
|
||||
.field public static final COLOR_SCHEME_SYSTEM:I = 0x0
|
||||
|
||||
.field public static final EXTRA_ACTION_BUTTON_BUNDLE:Ljava/lang/String; = "android.support.customtabs.extra.ACTION_BUTTON_BUNDLE"
|
||||
|
||||
.field public static final EXTRA_CLOSE_BUTTON_ICON:Ljava/lang/String; = "android.support.customtabs.extra.CLOSE_BUTTON_ICON"
|
||||
|
||||
.field public static final EXTRA_COLOR_SCHEME:Ljava/lang/String; = "androidx.browser.customtabs.extra.COLOR_SCHEME"
|
||||
|
||||
.field public static final EXTRA_COLOR_SCHEME_PARAMS:Ljava/lang/String; = "androidx.browser.customtabs.extra.COLOR_SCHEME_PARAMS"
|
||||
|
||||
.field public static final EXTRA_DEFAULT_SHARE_MENU_ITEM:Ljava/lang/String; = "android.support.customtabs.extra.SHARE_MENU_ITEM"
|
||||
|
||||
.field public static final EXTRA_ENABLE_INSTANT_APPS:Ljava/lang/String; = "android.support.customtabs.extra.EXTRA_ENABLE_INSTANT_APPS"
|
||||
|
@ -26,6 +39,8 @@
|
|||
|
||||
.field public static final EXTRA_MENU_ITEMS:Ljava/lang/String; = "android.support.customtabs.extra.MENU_ITEMS"
|
||||
|
||||
.field public static final EXTRA_NAVIGATION_BAR_COLOR:Ljava/lang/String; = "androidx.browser.customtabs.extra.NAVIGATION_BAR_COLOR"
|
||||
|
||||
.field public static final EXTRA_REMOTEVIEWS:Ljava/lang/String; = "android.support.customtabs.extra.EXTRA_REMOTEVIEWS"
|
||||
|
||||
.field public static final EXTRA_REMOTEVIEWS_CLICKED_ID:Ljava/lang/String; = "android.support.customtabs.extra.EXTRA_REMOTEVIEWS_CLICKED_ID"
|
||||
|
@ -38,6 +53,14 @@
|
|||
|
||||
.field public static final EXTRA_SESSION:Ljava/lang/String; = "android.support.customtabs.extra.SESSION"
|
||||
|
||||
.field public static final EXTRA_SESSION_ID:Ljava/lang/String; = "android.support.customtabs.extra.SESSION_ID"
|
||||
.annotation build Landroidx/annotation/RestrictTo;
|
||||
value = {
|
||||
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public static final EXTRA_TINT_ACTION_BUTTON:Ljava/lang/String; = "android.support.customtabs.extra.TINT_ACTION_BUTTON"
|
||||
|
||||
.field public static final EXTRA_TITLE_VISIBILITY_STATE:Ljava/lang/String; = "android.support.customtabs.extra.TITLE_VISIBILITY"
|
||||
|
@ -82,6 +105,14 @@
|
|||
# direct methods
|
||||
.method public constructor <init>(Landroid/content/Intent;Landroid/os/Bundle;)V
|
||||
.locals 0
|
||||
.param p1 # Landroid/content/Intent;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/os/Bundle;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
|
@ -92,6 +123,85 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public static getColorSchemeParams(Landroid/content/Intent;I)Landroidx/browser/customtabs/CustomTabColorSchemeParams;
|
||||
.locals 2
|
||||
.param p0 # Landroid/content/Intent;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
if-ltz p1, :cond_2
|
||||
|
||||
const/4 v0, 0x2
|
||||
|
||||
if-gt p1, v0, :cond_2
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
invoke-virtual {p0}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
if-nez p0, :cond_0
|
||||
|
||||
const/4 p0, 0x0
|
||||
|
||||
invoke-static {p0}, Landroidx/browser/customtabs/CustomTabColorSchemeParams;->fromBundle(Landroid/os/Bundle;)Landroidx/browser/customtabs/CustomTabColorSchemeParams;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
invoke-static {p0}, Landroidx/browser/customtabs/CustomTabColorSchemeParams;->fromBundle(Landroid/os/Bundle;)Landroidx/browser/customtabs/CustomTabColorSchemeParams;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "androidx.browser.customtabs.extra.COLOR_SCHEME_PARAMS"
|
||||
|
||||
invoke-virtual {p0, v1}, Landroid/os/Bundle;->getSparseParcelableArray(Ljava/lang/String;)Landroid/util/SparseArray;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
if-eqz p0, :cond_1
|
||||
|
||||
invoke-virtual {p0, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
check-cast p0, Landroid/os/Bundle;
|
||||
|
||||
if-eqz p0, :cond_1
|
||||
|
||||
invoke-static {p0}, Landroidx/browser/customtabs/CustomTabColorSchemeParams;->fromBundle(Landroid/os/Bundle;)Landroidx/browser/customtabs/CustomTabColorSchemeParams;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
invoke-virtual {p0, v0}, Landroidx/browser/customtabs/CustomTabColorSchemeParams;->withDefaults(Landroidx/browser/customtabs/CustomTabColorSchemeParams;)Landroidx/browser/customtabs/CustomTabColorSchemeParams;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_1
|
||||
return-object v0
|
||||
|
||||
:cond_2
|
||||
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "Invalid colorScheme: "
|
||||
|
||||
invoke-static {v0, p1}, Lf/e/b/a/a;->h(Ljava/lang/String;I)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
.end method
|
||||
|
||||
.method public static getMaxToolbarItems()I
|
||||
.locals 1
|
||||
|
||||
|
@ -102,6 +212,12 @@
|
|||
|
||||
.method public static setAlwaysUseBrowserUI(Landroid/content/Intent;)Landroid/content/Intent;
|
||||
.locals 2
|
||||
.param p0 # Landroid/content/Intent;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
if-nez p0, :cond_0
|
||||
|
||||
|
@ -127,37 +243,49 @@
|
|||
|
||||
.method public static shouldAlwaysUseBrowserUI(Landroid/content/Intent;)Z
|
||||
.locals 2
|
||||
.param p0 # Landroid/content/Intent;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/4 v0, 0x0
|
||||
const-string v0, "android.support.customtabs.extra.user_opt_out"
|
||||
|
||||
const-string v1, "android.support.customtabs.extra.user_opt_out"
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-virtual {p0, v1, v0}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
|
||||
invoke-virtual {p0, v0, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
|
||||
|
||||
move-result v1
|
||||
move-result v0
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroid/content/Intent;->getFlags()I
|
||||
|
||||
move-result p0
|
||||
|
||||
const/high16 v1, 0x10000000
|
||||
const/high16 v0, 0x10000000
|
||||
|
||||
and-int/2addr p0, v1
|
||||
and-int/2addr p0, v0
|
||||
|
||||
if-eqz p0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
const/4 v1, 0x1
|
||||
|
||||
:cond_0
|
||||
return v0
|
||||
return v1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public launchUrl(Landroid/content/Context;Landroid/net/Uri;)V
|
||||
.locals 1
|
||||
.param p1 # Landroid/content/Context;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/net/Uri;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsIntent;->intent:Landroid/content/Intent;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue