Changes of com.discord v968

This commit is contained in:
root 2019-10-08 01:23:22 +02:00
parent 2be3c10320
commit 8dbf9fb1c2
8046 changed files with 353591 additions and 366898 deletions

View file

@ -180,7 +180,7 @@
move-result-object p1
:try_start_0
sget p2, Landroidx/appcompat/R$styleable;->CompoundButton_android_button:I
sget p2, Landroidx/appcompat/R$styleable;->CompoundButton_buttonCompat:I
invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->hasValue(I)Z
@ -188,13 +188,61 @@
if-eqz p2, :cond_0
sget p2, Landroidx/appcompat/R$styleable;->CompoundButton_buttonCompat:I
invoke-virtual {p1, p2, v2}, Landroid/content/res/TypedArray;->getResourceId(II)I
move-result p2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz p2, :cond_0
:try_start_1
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
iget-object v1, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
invoke-virtual {v1}, Landroid/widget/CompoundButton;->getContext()Landroid/content/Context;
move-result-object v1
invoke-static {v1, p2}, Landroidx/appcompat/content/res/AppCompatResources;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
move-result-object p2
invoke-virtual {v0, p2}, Landroid/widget/CompoundButton;->setButtonDrawable(Landroid/graphics/drawable/Drawable;)V
:try_end_1
.catch Landroid/content/res/Resources$NotFoundException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
const/4 p2, 0x1
goto :goto_0
:catch_0
:cond_0
const/4 p2, 0x0
:goto_0
if-nez p2, :cond_1
:try_start_2
sget p2, Landroidx/appcompat/R$styleable;->CompoundButton_android_button:I
invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result p2
if-eqz p2, :cond_1
sget p2, Landroidx/appcompat/R$styleable;->CompoundButton_android_button:I
invoke-virtual {p1, p2, v2}, Landroid/content/res/TypedArray;->getResourceId(II)I
move-result p2
if-eqz p2, :cond_0
if-eqz p2, :cond_1
iget-object v0, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
@ -210,14 +258,14 @@
invoke-virtual {v0, p2}, Landroid/widget/CompoundButton;->setButtonDrawable(Landroid/graphics/drawable/Drawable;)V
:cond_0
:cond_1
sget p2, Landroidx/appcompat/R$styleable;->CompoundButton_buttonTint:I
invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result p2
if-eqz p2, :cond_1
if-eqz p2, :cond_2
iget-object p2, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
@ -229,14 +277,14 @@
invoke-static {p2, v0}, Landroidx/core/widget/CompoundButtonCompat;->setButtonTintList(Landroid/widget/CompoundButton;Landroid/content/res/ColorStateList;)V
:cond_1
:cond_2
sget p2, Landroidx/appcompat/R$styleable;->CompoundButton_buttonTintMode:I
invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->hasValue(I)Z
move-result p2
if-eqz p2, :cond_2
if-eqz p2, :cond_3
iget-object p2, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
@ -255,10 +303,10 @@
move-result-object v0
invoke-static {p2, v0}, Landroidx/core/widget/CompoundButtonCompat;->setButtonTintMode(Landroid/widget/CompoundButton;Landroid/graphics/PorterDuff$Mode;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
:cond_2
:cond_3
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
return-void