Changes of com.discord v998
This commit is contained in:
parent
dc3b174a87
commit
a8e290ae89
20243 changed files with 1573881 additions and 1337713 deletions
|
@ -3,22 +3,26 @@
|
|||
.source "ViewUtils.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field private static final TAG:Ljava/lang/String; = "ViewUtils"
|
||||
# annotations
|
||||
.annotation build Landroidx/annotation/RestrictTo;
|
||||
value = {
|
||||
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.field private static sComputeFitSystemWindowsMethod:Ljava/lang/reflect/Method;
|
||||
|
||||
# static fields
|
||||
.field public static final TAG:Ljava/lang/String; = "ViewUtils"
|
||||
|
||||
.field public static sComputeFitSystemWindowsMethod:Ljava/lang/reflect/Method;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 5
|
||||
|
||||
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 v1, 0x12
|
||||
|
||||
if-lt v0, v1, :cond_1
|
||||
|
||||
:try_start_0
|
||||
const-class v0, Landroid/view/View;
|
||||
|
||||
|
@ -46,6 +50,8 @@
|
|||
|
||||
sput-object v0, Landroidx/appcompat/widget/ViewUtils;->sComputeFitSystemWindowsMethod:Ljava/lang/reflect/Method;
|
||||
|
||||
sget-object v0, Landroidx/appcompat/widget/ViewUtils;->sComputeFitSystemWindowsMethod:Ljava/lang/reflect/Method;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/reflect/Method;->isAccessible()Z
|
||||
|
||||
move-result v0
|
||||
|
@ -58,8 +64,7 @@
|
|||
:try_end_0
|
||||
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
const-string v0, "ViewUtils"
|
||||
|
@ -68,11 +73,12 @@
|
|||
|
||||
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
||||
|
||||
:cond_1
|
||||
:cond_0
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private constructor <init>()V
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
@ -104,7 +110,7 @@
|
|||
:try_end_0
|
||||
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
return-void
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception p0
|
||||
|
@ -116,6 +122,7 @@
|
|||
invoke-static {p1, p2, p0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
||||
|
||||
:cond_0
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
@ -130,12 +137,13 @@
|
|||
|
||||
if-ne p0, v0, :cond_0
|
||||
|
||||
return v0
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 p0, 0x0
|
||||
const/4 v0, 0x0
|
||||
|
||||
return p0
|
||||
:goto_0
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public static makeOptionalFitsSystemWindows(Landroid/view/View;)V
|
||||
|
@ -147,10 +155,6 @@
|
|||
|
||||
sget v2, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 v3, 0x10
|
||||
|
||||
if-lt v2, v3, :cond_1
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
|
@ -185,7 +189,7 @@
|
|||
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_1
|
||||
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
return-void
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
move-exception p0
|
||||
|
@ -199,14 +203,13 @@
|
|||
|
||||
invoke-static {v1, v0, p0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
||||
|
||||
return-void
|
||||
goto :goto_0
|
||||
|
||||
:catch_2
|
||||
const-string p0, "Could not find method makeOptionalFitsSystemWindows. Oh well..."
|
||||
|
||||
invoke-static {v1, p0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue