Changes of com.discord v1304
This commit is contained in:
parent
a32f22f0fd
commit
02cd2a5eee
773 changed files with 16170 additions and 14307 deletions
167
com.discord/smali/com/discord/app/AppBottomSheet$a.smali
Normal file
167
com.discord/smali/com/discord/app/AppBottomSheet$a.smali
Normal file
|
@ -0,0 +1,167 @@
|
|||
.class public final Lcom/discord/app/AppBottomSheet$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "java-style lambda group"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/core/view/OnApplyWindowInsetsListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Lcom/discord/app/AppBottomSheet;->fixWindowInsetHandling()V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final b:Lcom/discord/app/AppBottomSheet$a;
|
||||
|
||||
.field public static final c:Lcom/discord/app/AppBottomSheet$a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic a:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Lcom/discord/app/AppBottomSheet$a;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Lcom/discord/app/AppBottomSheet$a;-><init>(I)V
|
||||
|
||||
sput-object v0, Lcom/discord/app/AppBottomSheet$a;->b:Lcom/discord/app/AppBottomSheet$a;
|
||||
|
||||
new-instance v0, Lcom/discord/app/AppBottomSheet$a;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-direct {v0, v1}, Lcom/discord/app/AppBottomSheet$a;-><init>(I)V
|
||||
|
||||
sput-object v0, Lcom/discord/app/AppBottomSheet$a;->c:Lcom/discord/app/AppBottomSheet$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(I)V
|
||||
.locals 0
|
||||
|
||||
iput p1, p0, Lcom/discord/app/AppBottomSheet$a;->a:I
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onApplyWindowInsets(Landroid/view/View;Landroidx/core/view/WindowInsetsCompat;)Landroidx/core/view/WindowInsetsCompat;
|
||||
.locals 4
|
||||
|
||||
iget v0, p0, Lcom/discord/app/AppBottomSheet$a;->a:I
|
||||
|
||||
const-string v1, "insets"
|
||||
|
||||
const-string/jumbo v2, "v"
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
if-ne v0, v3, :cond_0
|
||||
|
||||
invoke-static {p1, v2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p2, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetLeft()I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetTop()I
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetRight()I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetBottom()I
|
||||
|
||||
move-result v3
|
||||
|
||||
invoke-virtual {p1, v0, v1, v2, v3}, Landroid/view/View;->setPadding(IIII)V
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->consumeSystemWindowInsets()Landroidx/core/view/WindowInsetsCompat;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
invoke-static {p1, v2}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p2, v1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetTop()I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getPaddingLeft()I
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getPaddingRight()I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getPaddingBottom()I
|
||||
|
||||
move-result v3
|
||||
|
||||
invoke-virtual {p1, v1, v0, v2, v3}, Landroid/view/View;->setPadding(IIII)V
|
||||
|
||||
new-instance p1, Landroidx/core/view/WindowInsetsCompat$Builder;
|
||||
|
||||
invoke-direct {p1, p2}, Landroidx/core/view/WindowInsetsCompat$Builder;-><init>(Landroidx/core/view/WindowInsetsCompat;)V
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetLeft()I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetRight()I
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-virtual {p2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetBottom()I
|
||||
|
||||
move-result p2
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-static {v0, v2, v1, p2}, Landroidx/core/graphics/Insets;->of(IIII)Landroidx/core/graphics/Insets;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/core/view/WindowInsetsCompat$Builder;->setSystemWindowInsets(Landroidx/core/graphics/Insets;)Landroidx/core/view/WindowInsetsCompat$Builder;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Landroidx/core/view/WindowInsetsCompat$Builder;->build()Landroidx/core/view/WindowInsetsCompat;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -76,7 +76,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
const v2, 0x7f0a02bc
|
||||
const v2, 0x7f0a02bf
|
||||
|
||||
invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
|
@ -92,7 +92,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
const v2, 0x7f0a02fb
|
||||
const v2, 0x7f0a02fe
|
||||
|
||||
invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
|
||||
aput-object p1, v2, v3
|
||||
|
||||
const p1, 0x7f12184a
|
||||
const p1, 0x7f12184e
|
||||
|
||||
invoke-virtual {v1, p1, v2}, Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -393,7 +393,7 @@
|
|||
|
||||
sget-object v0, Lcom/discord/utilities/buildutils/BuildUtils;->INSTANCE:Lcom/discord/utilities/buildutils/BuildUtils;
|
||||
|
||||
const-string v1, "46.2"
|
||||
const-string v1, "46.3"
|
||||
|
||||
invoke-virtual {v0, v1}, Lcom/discord/utilities/buildutils/BuildUtils;->isValidBuildVersionName(Ljava/lang/String;)Z
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
const v1, 0x7f080391
|
||||
const v1, 0x7f080392
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/core/app/NotificationCompat$Builder;->setSmallIcon(I)Landroidx/core/app/NotificationCompat$Builder;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue