Changes of com.discord v998
This commit is contained in:
parent
dc3b174a87
commit
a8e290ae89
20243 changed files with 1573881 additions and 1337713 deletions
|
@ -3,10 +3,18 @@
|
|||
.source "TintContextWrapper.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field private static final CACHE_LOCK:Ljava/lang/Object;
|
||||
# annotations
|
||||
.annotation build Landroidx/annotation/RestrictTo;
|
||||
value = {
|
||||
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.field private static sCache:Ljava/util/ArrayList;
|
||||
|
||||
# static fields
|
||||
.field public static final CACHE_LOCK:Ljava/lang/Object;
|
||||
|
||||
.field public static sCache:Ljava/util/ArrayList;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/ArrayList<",
|
||||
|
@ -19,13 +27,13 @@
|
|||
|
||||
|
||||
# instance fields
|
||||
.field private final mResources:Landroid/content/res/Resources;
|
||||
.field public final mResources:Landroid/content/res/Resources;
|
||||
|
||||
.field private final mTheme:Landroid/content/res/Resources$Theme;
|
||||
.field public final mTheme:Landroid/content/res/Resources$Theme;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Ljava/lang/Object;
|
||||
|
@ -37,8 +45,12 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method private constructor <init>(Landroid/content/Context;)V
|
||||
.method public constructor <init>(Landroid/content/Context;)V
|
||||
.locals 2
|
||||
.param p1 # Landroid/content/Context;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
invoke-direct {p0, p1}, Landroid/content/ContextWrapper;-><init>(Landroid/content/Context;)V
|
||||
|
||||
|
@ -74,7 +86,7 @@
|
|||
|
||||
invoke-virtual {v0, p1}, Landroid/content/res/Resources$Theme;->setTo(Landroid/content/res/Resources$Theme;)V
|
||||
|
||||
return-void
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Landroidx/appcompat/widget/TintResources;
|
||||
|
@ -91,17 +103,22 @@
|
|||
|
||||
iput-object p1, p0, Landroidx/appcompat/widget/TintContextWrapper;->mTheme:Landroid/content/res/Resources$Theme;
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private static shouldWrap(Landroid/content/Context;)Z
|
||||
.method public static shouldWrap(Landroid/content/Context;)Z
|
||||
.locals 2
|
||||
.param p0 # Landroid/content/Context;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
instance-of v0, p0, Landroidx/appcompat/widget/TintContextWrapper;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-nez v0, :cond_3
|
||||
if-nez v0, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
||||
|
||||
|
@ -109,7 +126,7 @@
|
|||
|
||||
instance-of v0, v0, Landroidx/appcompat/widget/TintResources;
|
||||
|
||||
if-nez v0, :cond_3
|
||||
if-nez v0, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
||||
|
||||
|
@ -119,39 +136,30 @@
|
|||
|
||||
if-eqz p0, :cond_0
|
||||
|
||||
goto :goto_1
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
sget p0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 v0, 0x15
|
||||
|
||||
if-lt p0, v0, :cond_2
|
||||
|
||||
invoke-static {}, Landroidx/appcompat/widget/VectorEnabledTintResources;->shouldBeUsed()Z
|
||||
|
||||
move-result p0
|
||||
|
||||
if-eqz p0, :cond_1
|
||||
|
||||
goto :goto_0
|
||||
const/4 v1, 0x1
|
||||
|
||||
:cond_1
|
||||
return v1
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
const/4 p0, 0x1
|
||||
|
||||
return p0
|
||||
|
||||
:cond_3
|
||||
:goto_1
|
||||
return v1
|
||||
.end method
|
||||
|
||||
.method public static wrap(Landroid/content/Context;)Landroid/content/Context;
|
||||
.locals 4
|
||||
.param p0 # Landroid/content/Context;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
invoke-static {p0}, Landroidx/appcompat/widget/TintContextWrapper;->shouldWrap(Landroid/content/Context;)Z
|
||||
|
||||
|
@ -250,7 +258,7 @@
|
|||
:goto_2
|
||||
if-eqz v2, :cond_5
|
||||
|
||||
invoke-virtual {v2}, Landroidx/appcompat/widget/TintContextWrapper;->getBaseContext()Landroid/content/Context;
|
||||
invoke-virtual {v2}, Landroid/content/ContextWrapper;->getBaseContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
|
@ -342,12 +350,13 @@
|
|||
|
||||
invoke-super {p0, p1}, Landroid/content/ContextWrapper;->setTheme(I)V
|
||||
|
||||
return-void
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-virtual {v0, p1, v1}, Landroid/content/res/Resources$Theme;->applyStyle(IZ)V
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue