apkfuckery/com.discord/smali/androidx/media/MediaBrowserCompatUtils.smali

221 lines
3.6 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public Landroidx/media/MediaBrowserCompatUtils;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "MediaBrowserCompatUtils.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static areSameOptions(Landroid/os/Bundle;Landroid/os/Bundle;)Z
2019-05-03 18:53:54 +00:00
.locals 6
2019-02-04 20:08:30 +00:00
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
:cond_0
const/4 v1, 0x0
2019-05-03 18:53:54 +00:00
const-string v2, "android.media.browse.extra.PAGE_SIZE"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v3, "android.media.browse.extra.PAGE"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v4, -0x1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-nez p0, :cond_2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {p1, v3, v4}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result p0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-ne p0, v4, :cond_1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {p1, v2, v4}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
2019-02-04 20:08:30 +00:00
move-result p0
2019-05-03 18:53:54 +00:00
if-ne p0, v4, :cond_1
2019-02-04 20:08:30 +00:00
return v0
:cond_1
return v1
:cond_2
if-nez p1, :cond_4
2019-05-03 18:53:54 +00:00
invoke-virtual {p0, v3, v4}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
2019-02-04 20:08:30 +00:00
move-result p1
2019-05-03 18:53:54 +00:00
if-ne p1, v4, :cond_3
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {p0, v2, v4}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
2019-02-04 20:08:30 +00:00
move-result p0
2019-05-03 18:53:54 +00:00
if-ne p0, v4, :cond_3
2019-02-04 20:08:30 +00:00
return v0
:cond_3
return v1
:cond_4
2019-05-03 18:53:54 +00:00
invoke-virtual {p0, v3, v4}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result v5
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {p1, v3, v4}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result v3
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-ne v5, v3, :cond_5
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-virtual {p0, v2, v4}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
2019-02-04 20:08:30 +00:00
move-result p0
2019-05-03 18:53:54 +00:00
invoke-virtual {p1, v2, v4}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
2019-02-04 20:08:30 +00:00
move-result p1
if-ne p0, p1, :cond_5
return v0
:cond_5
return v1
.end method
.method public static hasDuplicatedItems(Landroid/os/Bundle;Landroid/os/Bundle;)Z
.locals 6
2019-05-03 18:53:54 +00:00
const-string v0, "android.media.browse.extra.PAGE"
const/4 v1, -0x1
2019-02-04 20:08:30 +00:00
if-nez p0, :cond_0
2019-05-03 18:53:54 +00:00
const/4 v2, -0x1
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_0
2019-05-03 18:53:54 +00:00
invoke-virtual {p0, v0, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result v2
2019-02-04 20:08:30 +00:00
:goto_0
if-nez p1, :cond_1
2019-05-03 18:53:54 +00:00
const/4 v0, -0x1
2019-02-04 20:08:30 +00:00
goto :goto_1
:cond_1
2019-05-03 18:53:54 +00:00
invoke-virtual {p1, v0, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
:goto_1
2019-05-03 18:53:54 +00:00
const-string v3, "android.media.browse.extra.PAGE_SIZE"
2019-02-04 20:08:30 +00:00
if-nez p0, :cond_2
const/4 p0, -0x1
goto :goto_2
:cond_2
2019-05-03 18:53:54 +00:00
invoke-virtual {p0, v3, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
2019-02-04 20:08:30 +00:00
move-result p0
:goto_2
if-nez p1, :cond_3
const/4 p1, -0x1
goto :goto_3
:cond_3
2019-05-03 18:53:54 +00:00
invoke-virtual {p1, v3, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
2019-02-04 20:08:30 +00:00
move-result p1
:goto_3
const v3, 0x7fffffff
const/4 v4, 0x1
const/4 v5, 0x0
2019-05-03 18:53:54 +00:00
if-eq v2, v1, :cond_5
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-ne p0, v1, :cond_4
2019-02-04 20:08:30 +00:00
goto :goto_4
:cond_4
2019-05-03 18:53:54 +00:00
mul-int v2, v2, p0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
add-int/2addr p0, v2
2019-02-04 20:08:30 +00:00
sub-int/2addr p0, v4
goto :goto_5
:cond_5
:goto_4
const p0, 0x7fffffff
2019-05-03 18:53:54 +00:00
const/4 v2, 0x0
2019-02-04 20:08:30 +00:00
:goto_5
2019-05-03 18:53:54 +00:00
if-eq v0, v1, :cond_7
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-ne p1, v1, :cond_6
2019-02-04 20:08:30 +00:00
goto :goto_6
:cond_6
2019-05-03 18:53:54 +00:00
mul-int v0, v0, p1
2019-02-04 20:08:30 +00:00
add-int/2addr p1, v0
add-int/lit8 v3, p1, -0x1
goto :goto_7
:cond_7
:goto_6
const/4 v0, 0x0
:goto_7
if-lt p0, v0, :cond_8
2019-05-03 18:53:54 +00:00
if-lt v3, v2, :cond_8
2019-02-04 20:08:30 +00:00
return v4
:cond_8
return v5
.end method