Changes of com.discord v971

This commit is contained in:
root 2019-10-11 23:55:41 +02:00
parent 788ca26a31
commit bf33436ae9
6820 changed files with 121178 additions and 151907 deletions

View file

@ -180,7 +180,7 @@
move-result-object p1
:try_start_0
sget p2, Landroidx/appcompat/R$styleable;->CompoundButton_buttonCompat:I
sget p2, Landroidx/appcompat/R$styleable;->CompoundButton_android_button:I
invoke-virtual {p1, p2}, Landroid/content/res/TypedArray;->hasValue(I)Z
@ -188,17 +188,14 @@
if-eqz p2, :cond_0
sget p2, Landroidx/appcompat/R$styleable;->CompoundButton_buttonCompat:I
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
: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;
@ -212,60 +209,15 @@
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_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
: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_2
if-eqz p2, :cond_1
iget-object p2, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
@ -277,14 +229,14 @@
invoke-static {p2, v0}, Landroidx/core/widget/CompoundButtonCompat;->setButtonTintList(Landroid/widget/CompoundButton;Landroid/content/res/ColorStateList;)V
:cond_2
:cond_1
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_3
if-eqz p2, :cond_2
iget-object p2, p0, Landroidx/appcompat/widget/AppCompatCompoundButtonHelper;->mView:Landroid/widget/CompoundButton;
@ -303,10 +255,10 @@
move-result-object v0
invoke-static {p2, v0}, Landroidx/core/widget/CompoundButtonCompat;->setButtonTintMode(Landroid/widget/CompoundButton;Landroid/graphics/PorterDuff$Mode;)V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:cond_3
:cond_2
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
return-void