apkfuckery/com.discord/smali/androidx/appcompat/app/AppCompatDelegateImpl$ConfigurationImplApi26.smali

85 lines
2.1 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +00:00
.class public Landroidx/appcompat/app/AppCompatDelegateImpl$ConfigurationImplApi26;
.super Ljava/lang/Object;
.source "AppCompatDelegateImpl.java"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1a
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/appcompat/app/AppCompatDelegateImpl;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "ConfigurationImplApi26"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static generateConfigDelta_colorMode(Landroid/content/res/Configuration;Landroid/content/res/Configuration;Landroid/content/res/Configuration;)V
.locals 3
.param p0 # Landroid/content/res/Configuration;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/content/res/Configuration;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/content/res/Configuration;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
iget v0, p0, Landroid/content/res/Configuration;->colorMode:I
and-int/lit8 v0, v0, 0x3
iget v1, p1, Landroid/content/res/Configuration;->colorMode:I
and-int/lit8 v2, v1, 0x3
if-eq v0, v2, :cond_0
iget v0, p2, Landroid/content/res/Configuration;->colorMode:I
and-int/lit8 v1, v1, 0x3
or-int/2addr v0, v1
iput v0, p2, Landroid/content/res/Configuration;->colorMode:I
:cond_0
iget p0, p0, Landroid/content/res/Configuration;->colorMode:I
and-int/lit8 p0, p0, 0xc
iget p1, p1, Landroid/content/res/Configuration;->colorMode:I
and-int/lit8 v0, p1, 0xc
if-eq p0, v0, :cond_1
iget p0, p2, Landroid/content/res/Configuration;->colorMode:I
and-int/lit8 p1, p1, 0xc
or-int/2addr p0, p1
iput p0, p2, Landroid/content/res/Configuration;->colorMode:I
:cond_1
return-void
.end method