Changes of com.discord v971
This commit is contained in:
parent
788ca26a31
commit
bf33436ae9
6820 changed files with 121178 additions and 151907 deletions
|
@ -13,20 +13,18 @@
|
|||
|
||||
.field private mResources:Landroid/content/res/Resources;
|
||||
|
||||
.field private mThemeId:I
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Landroidx/fragment/app/FragmentActivity;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
const/4 v0, 0x0
|
||||
|
||||
.method public constructor <init>(I)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1}, Landroidx/fragment/app/FragmentActivity;-><init>(I)V
|
||||
iput v0, p0, Landroidx/appcompat/app/AppCompatActivity;->mThemeId:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -118,20 +116,6 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public attachBaseContext(Landroid/content/Context;)V
|
||||
.locals 1
|
||||
|
||||
invoke-super {p0, p1}, Landroidx/fragment/app/FragmentActivity;->attachBaseContext(Landroid/content/Context;)V
|
||||
|
||||
invoke-virtual {p0}, Landroidx/appcompat/app/AppCompatActivity;->getDelegate()Landroidx/appcompat/app/AppCompatDelegate;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/appcompat/app/AppCompatDelegate;->attachBaseContext(Landroid/content/Context;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public closeOptionsMenu()V
|
||||
.locals 3
|
||||
|
||||
|
@ -346,6 +330,12 @@
|
|||
|
||||
invoke-super {p0, p1}, Landroidx/fragment/app/FragmentActivity;->onConfigurationChanged(Landroid/content/res/Configuration;)V
|
||||
|
||||
invoke-virtual {p0}, Landroidx/appcompat/app/AppCompatActivity;->getDelegate()Landroidx/appcompat/app/AppCompatDelegate;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/appcompat/app/AppCompatDelegate;->onConfigurationChanged(Landroid/content/res/Configuration;)V
|
||||
|
||||
iget-object v0, p0, Landroidx/appcompat/app/AppCompatActivity;->mResources:Landroid/content/res/Resources;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
@ -363,12 +353,6 @@
|
|||
invoke-virtual {v1, p1, v0}, Landroid/content/res/Resources;->updateConfiguration(Landroid/content/res/Configuration;Landroid/util/DisplayMetrics;)V
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Landroidx/appcompat/app/AppCompatActivity;->getDelegate()Landroidx/appcompat/app/AppCompatDelegate;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/appcompat/app/AppCompatDelegate;->onConfigurationChanged(Landroid/content/res/Configuration;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
@ -381,7 +365,7 @@
|
|||
.end method
|
||||
|
||||
.method public onCreate(Landroid/os/Bundle;)V
|
||||
.locals 1
|
||||
.locals 3
|
||||
|
||||
invoke-virtual {p0}, Landroidx/appcompat/app/AppCompatActivity;->getDelegate()Landroidx/appcompat/app/AppCompatDelegate;
|
||||
|
||||
|
@ -391,6 +375,41 @@
|
|||
|
||||
invoke-virtual {v0, p1}, Landroidx/appcompat/app/AppCompatDelegate;->onCreate(Landroid/os/Bundle;)V
|
||||
|
||||
invoke-virtual {v0}, Landroidx/appcompat/app/AppCompatDelegate;->applyDayNight()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
iget v0, p0, Landroidx/appcompat/app/AppCompatActivity;->mThemeId:I
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 v1, 0x17
|
||||
|
||||
if-lt v0, v1, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/appcompat/app/AppCompatActivity;->getTheme()Landroid/content/res/Resources$Theme;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget v1, p0, Landroidx/appcompat/app/AppCompatActivity;->mThemeId:I
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {p0, v0, v1, v2}, Landroidx/appcompat/app/AppCompatActivity;->onApplyThemeResource(Landroid/content/res/Resources$Theme;IZ)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget v0, p0, Landroidx/appcompat/app/AppCompatActivity;->mThemeId:I
|
||||
|
||||
invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->setTheme(I)V
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
invoke-super {p0, p1}, Landroidx/fragment/app/FragmentActivity;->onCreate(Landroid/os/Bundle;)V
|
||||
|
||||
return-void
|
||||
|
@ -497,12 +516,6 @@
|
|||
return p1
|
||||
.end method
|
||||
|
||||
.method protected onNightModeChanged(I)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onPanelClosed(ILandroid/view/Menu;)V
|
||||
.locals 0
|
||||
|
||||
|
@ -795,15 +808,11 @@
|
|||
.end method
|
||||
|
||||
.method public setTheme(I)V
|
||||
.locals 1
|
||||
.locals 0
|
||||
|
||||
invoke-super {p0, p1}, Landroidx/fragment/app/FragmentActivity;->setTheme(I)V
|
||||
|
||||
invoke-virtual {p0}, Landroidx/appcompat/app/AppCompatActivity;->getDelegate()Landroidx/appcompat/app/AppCompatDelegate;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/appcompat/app/AppCompatDelegate;->setTheme(I)V
|
||||
iput p1, p0, Landroidx/appcompat/app/AppCompatActivity;->mThemeId:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue