Add Discord APKTool decompilation (Smali source for modding)

- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3
- APKTool decompilation (Smali bytecode) for modding and rebuilding APK
- Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures
- Includes full Smali source, resources, and native libraries
- Ready to rebuild APK after modifications with apktool b command
- Added comprehensive README-apktool.md with modding guide

This branch complements the JADX branches:
- Use JADX (main/discord-community) to UNDERSTAND code (readable Java)
- Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali)

Total: 44,417 files, 538.51 MB Smali source code
This commit is contained in:
2026-02-18 16:13:44 -08:00
parent c080f0d97f
commit f3960ee359
44288 changed files with 10998761 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
.class public final Landroidx/core/content/ContentProviderCompat;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method private constructor <init>()V
.locals 0
.line 29
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static requireContext(Landroid/content/ContentProvider;)Landroid/content/Context;
.locals 1
.param p0 # Landroid/content/ContentProvider;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 45
invoke-virtual {p0}, Landroid/content/ContentProvider;->getContext()Landroid/content/Context;
move-result-object p0
if-eqz p0, :cond_0
return-object p0
.line 47
:cond_0
new-instance p0, Ljava/lang/IllegalStateException;
const-string v0, "Cannot find context from the provider."
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p0
.end method

View File

@@ -0,0 +1,153 @@
.class public final Landroidx/core/content/ContentResolverCompat;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method private constructor <init>()V
.locals 0
.line 33
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static query(Landroid/content/ContentResolver;Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Landroid/os/CancellationSignal;)Landroid/database/Cursor;
.locals 0
.param p0 # Landroid/content/ContentResolver;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/net/Uri;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # [Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p3 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p4 # [Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p5 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p6 # Landroid/os/CancellationSignal;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.line 127
:try_start_0
invoke-virtual/range {p0 .. p6}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Landroid/os/CancellationSignal;)Landroid/database/Cursor;
move-result-object p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
:catch_0
move-exception p0
.line 130
instance-of p1, p0, Landroid/os/OperationCanceledException;
if-eqz p1, :cond_0
.line 133
new-instance p0, Landroidx/core/os/OperationCanceledException;
invoke-direct {p0}, Landroidx/core/os/OperationCanceledException;-><init>()V
throw p0
.line 136
:cond_0
throw p0
.end method
.method public static query(Landroid/content/ContentResolver;Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Landroidx/core/os/CancellationSignal;)Landroid/database/Cursor;
.locals 7
.param p0 # Landroid/content/ContentResolver;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/net/Uri;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # [Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p3 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p4 # [Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p5 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p6 # Landroidx/core/os/CancellationSignal;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
if-eqz p6, :cond_0
.line 82
invoke-virtual {p6}, Landroidx/core/os/CancellationSignal;->getCancellationSignalObject()Ljava/lang/Object;
move-result-object p6
check-cast p6, Landroid/os/CancellationSignal;
:goto_0
move-object v6, p6
goto :goto_1
:cond_0
const/4 p6, 0x0
goto :goto_0
:goto_1
move-object v0, p0
move-object v1, p1
move-object v2, p2
move-object v3, p3
move-object v4, p4
move-object v5, p5
.line 80
invoke-static/range {v0 .. v6}, Landroidx/core/content/ContentResolverCompat;->query(Landroid/content/ContentResolver;Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Landroid/os/CancellationSignal;)Landroid/database/Cursor;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,206 @@
.class public final Landroidx/core/content/ContentValuesKt;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static final varargs contentValuesOf([Lkotlin/Pair;)Landroid/content/ContentValues;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Lkotlin/Pair;",
")",
"Landroid/content/ContentValues;"
}
.end annotation
.line 27
new-instance v0, Landroid/content/ContentValues;
array-length v1, p0
invoke-direct {v0, v1}, Landroid/content/ContentValues;-><init>(I)V
.line 28
array-length v1, p0
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_a
aget-object v3, p0, v2
invoke-virtual {v3}, Lkotlin/Pair;->component1()Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/String;
invoke-virtual {v3}, Lkotlin/Pair;->component2()Ljava/lang/Object;
move-result-object v3
if-nez v3, :cond_0
.line 30
invoke-virtual {v0, v4}, Landroid/content/ContentValues;->putNull(Ljava/lang/String;)V
goto :goto_1
.line 31
:cond_0
instance-of v5, v3, Ljava/lang/String;
if-eqz v5, :cond_1
check-cast v3, Ljava/lang/String;
invoke-virtual {v0, v4, v3}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V
goto :goto_1
.line 32
:cond_1
instance-of v5, v3, Ljava/lang/Integer;
if-eqz v5, :cond_2
check-cast v3, Ljava/lang/Integer;
invoke-virtual {v0, v4, v3}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Integer;)V
goto :goto_1
.line 33
:cond_2
instance-of v5, v3, Ljava/lang/Long;
if-eqz v5, :cond_3
check-cast v3, Ljava/lang/Long;
invoke-virtual {v0, v4, v3}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V
goto :goto_1
.line 34
:cond_3
instance-of v5, v3, Ljava/lang/Boolean;
if-eqz v5, :cond_4
check-cast v3, Ljava/lang/Boolean;
invoke-virtual {v0, v4, v3}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Boolean;)V
goto :goto_1
.line 35
:cond_4
instance-of v5, v3, Ljava/lang/Float;
if-eqz v5, :cond_5
check-cast v3, Ljava/lang/Float;
invoke-virtual {v0, v4, v3}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Float;)V
goto :goto_1
.line 36
:cond_5
instance-of v5, v3, Ljava/lang/Double;
if-eqz v5, :cond_6
check-cast v3, Ljava/lang/Double;
invoke-virtual {v0, v4, v3}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Double;)V
goto :goto_1
.line 37
:cond_6
instance-of v5, v3, [B
if-eqz v5, :cond_7
check-cast v3, [B
invoke-virtual {v0, v4, v3}, Landroid/content/ContentValues;->put(Ljava/lang/String;[B)V
goto :goto_1
.line 38
:cond_7
instance-of v5, v3, Ljava/lang/Byte;
if-eqz v5, :cond_8
check-cast v3, Ljava/lang/Byte;
invoke-virtual {v0, v4, v3}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Byte;)V
goto :goto_1
.line 39
:cond_8
instance-of v5, v3, Ljava/lang/Short;
if-eqz v5, :cond_9
check-cast v3, Ljava/lang/Short;
invoke-virtual {v0, v4, v3}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Short;)V
:goto_1
add-int/lit8 v2, v2, 0x1
goto :goto_0
.line 41
:cond_9
invoke-virtual {v3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Class;->getCanonicalName()Ljava/lang/String;
move-result-object p0
.line 42
new-instance v0, Ljava/lang/IllegalArgumentException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Illegal value type "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p0, " for key \""
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 p0, 0x22
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
:cond_a
return-object v0
.end method

View File

@@ -0,0 +1,62 @@
.class Landroidx/core/content/ContextCompat$Api21Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x15
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/ContextCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api21Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1056
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getCodeCacheDir(Landroid/content/Context;)Ljava/io/File;
.locals 0
.line 1069
invoke-virtual {p0}, Landroid/content/Context;->getCodeCacheDir()Ljava/io/File;
move-result-object p0
return-object p0
.end method
.method public static getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
.locals 0
.line 1061
invoke-virtual {p0, p1}, Landroid/content/Context;->getDrawable(I)Landroid/graphics/drawable/Drawable;
move-result-object p0
return-object p0
.end method
.method public static getNoBackupFilesDir(Landroid/content/Context;)Ljava/io/File;
.locals 0
.line 1065
invoke-virtual {p0}, Landroid/content/Context;->getNoBackupFilesDir()Ljava/io/File;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,81 @@
.class Landroidx/core/content/ContextCompat$Api23Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x17
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/ContextCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api23Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1075
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getColor(Landroid/content/Context;I)I
.locals 0
.line 1080
invoke-virtual {p0, p1}, Landroid/content/Context;->getColor(I)I
move-result p0
return p0
.end method
.method public static getSystemService(Landroid/content/Context;Ljava/lang/Class;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/content/Context;",
"Ljava/lang/Class<",
"TT;>;)TT;"
}
.end annotation
.line 1084
invoke-virtual {p0, p1}, Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static getSystemServiceName(Landroid/content/Context;Ljava/lang/Class;)Ljava/lang/String;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Ljava/lang/Class<",
"*>;)",
"Ljava/lang/String;"
}
.end annotation
.line 1088
invoke-virtual {p0, p1}, Landroid/content/Context;->getSystemServiceName(Ljava/lang/Class;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,62 @@
.class Landroidx/core/content/ContextCompat$Api24Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x18
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/ContextCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api24Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1094
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static createDeviceProtectedStorageContext(Landroid/content/Context;)Landroid/content/Context;
.locals 0
.line 1103
invoke-virtual {p0}, Landroid/content/Context;->createDeviceProtectedStorageContext()Landroid/content/Context;
move-result-object p0
return-object p0
.end method
.method public static getDataDir(Landroid/content/Context;)Ljava/io/File;
.locals 0
.line 1099
invoke-virtual {p0}, Landroid/content/Context;->getDataDir()Ljava/io/File;
move-result-object p0
return-object p0
.end method
.method public static isDeviceProtectedStorage(Landroid/content/Context;)Z
.locals 0
.line 1107
invoke-virtual {p0}, Landroid/content/Context;->isDeviceProtectedStorage()Z
move-result p0
return p0
.end method

View File

@@ -0,0 +1,86 @@
.class Landroidx/core/content/ContextCompat$Api26Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1a
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/ContextCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api26Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1113
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static registerReceiver(Landroid/content/Context;Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;I)Landroid/content/Intent;
.locals 6
.param p1 # Landroid/content/BroadcastReceiver;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
and-int/lit8 v0, p5, 0x4
if-eqz v0, :cond_0
if-nez p3, :cond_0
.line 1120
invoke-static {p0}, Landroidx/core/content/ContextCompat;->obtainAndCheckReceiverPermission(Landroid/content/Context;)Ljava/lang/String;
move-result-object p3
.line 1122
invoke-virtual {p0, p1, p2, p3, p4}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;)Landroid/content/Intent;
move-result-object p0
return-object p0
:cond_0
and-int/lit8 v5, p5, 0x1
move-object v0, p0
move-object v1, p1
move-object v2, p2
move-object v3, p3
move-object v4, p4
.line 1125
invoke-virtual/range {v0 .. v5}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;I)Landroid/content/Intent;
move-result-object p0
return-object p0
.end method
.method public static startForegroundService(Landroid/content/Context;Landroid/content/Intent;)Landroid/content/ComponentName;
.locals 0
.line 1130
invoke-virtual {p0, p1}, Landroid/content/Context;->startForegroundService(Landroid/content/Intent;)Landroid/content/ComponentName;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,40 @@
.class Landroidx/core/content/ContextCompat$Api28Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1c
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/ContextCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api28Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1136
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getMainExecutor(Landroid/content/Context;)Ljava/util/concurrent/Executor;
.locals 0
.line 1141
invoke-virtual {p0}, Landroid/content/Context;->getMainExecutor()Ljava/util/concurrent/Executor;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,117 @@
.class Landroidx/core/content/ContextCompat$Api30Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1e
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/ContextCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api30Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1147
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static createAttributionContext(Landroid/content/Context;Ljava/lang/String;)Landroid/content/Context;
.locals 0
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 1170
invoke-virtual {p0, p1}, Landroid/content/Context;->createAttributionContext(Ljava/lang/String;)Landroid/content/Context;
move-result-object p0
return-object p0
.end method
.method public static getAttributionTag(Landroid/content/Context;)Ljava/lang/String;
.locals 0
.line 1152
invoke-virtual {p0}, Landroid/content/Context;->getAttributionTag()Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static getDisplayOrDefault(Landroid/content/Context;)Landroid/view/Display;
.locals 2
.line 1157
:try_start_0
invoke-virtual {p0}, Landroid/content/Context;->getDisplay()Landroid/view/Display;
move-result-object p0
:try_end_0
.catch Ljava/lang/UnsupportedOperationException; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
.line 1160
:catch_0
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "The context:"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, " is not associated with any display. Return a fallback display instead."
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "ContextCompat"
invoke-static {v1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
const-class v0, Landroid/hardware/display/DisplayManager;
.line 1162
invoke-virtual {p0, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Landroid/hardware/display/DisplayManager;
const/4 v0, 0x0
.line 1163
invoke-virtual {p0, v0}, Landroid/hardware/display/DisplayManager;->getDisplay(I)Landroid/view/Display;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,44 @@
.class Landroidx/core/content/ContextCompat$Api33Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x21
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/ContextCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api33Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1176
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static registerReceiver(Landroid/content/Context;Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;I)Landroid/content/Intent;
.locals 0
.param p1 # Landroid/content/BroadcastReceiver;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.line 1182
invoke-virtual/range {p0 .. p5}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;I)Landroid/content/Intent;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,409 @@
.class final Landroidx/core/content/ContextCompat$LegacyServiceMapHolder;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/ContextCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "LegacyServiceMapHolder"
.end annotation
# static fields
.field static final SERVICES:Ljava/util/HashMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/Class<",
"*>;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 3
.line 991
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
sput-object v0, Landroidx/core/content/ContextCompat$LegacyServiceMapHolder;->SERVICES:Ljava/util/HashMap;
const-class v1, Landroid/telephony/SubscriptionManager;
const-string v2, "telephony_subscription_service"
.line 995
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/app/usage/UsageStatsManager;
const-string v2, "usagestats"
.line 996
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/appwidget/AppWidgetManager;
const-string v2, "appwidget"
.line 999
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/os/BatteryManager;
const-string v2, "batterymanager"
.line 1000
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/hardware/camera2/CameraManager;
const-string v2, "camera"
.line 1001
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/app/job/JobScheduler;
const-string v2, "jobscheduler"
.line 1002
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/content/pm/LauncherApps;
const-string v2, "launcherapps"
.line 1003
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/media/projection/MediaProjectionManager;
const-string v2, "media_projection"
.line 1004
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/media/session/MediaSessionManager;
const-string v2, "media_session"
.line 1005
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/content/RestrictionsManager;
const-string v2, "restrictions"
.line 1006
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/telecom/TelecomManager;
const-string v2, "telecom"
.line 1007
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/media/tv/TvInputManager;
const-string v2, "tv_input"
.line 1008
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/app/AppOpsManager;
const-string v2, "appops"
.line 1011
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/view/accessibility/CaptioningManager;
const-string v2, "captioning"
.line 1012
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/hardware/ConsumerIrManager;
const-string v2, "consumer_ir"
.line 1013
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/print/PrintManager;
const-string v2, "print"
.line 1014
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/bluetooth/BluetoothManager;
const-string v2, "bluetooth"
.line 1015
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/hardware/display/DisplayManager;
const-string v2, "display"
.line 1016
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/os/UserManager;
const-string v2, "user"
.line 1017
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/hardware/input/InputManager;
const-string v2, "input"
.line 1019
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/media/MediaRouter;
const-string v2, "media_router"
.line 1020
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/net/nsd/NsdManager;
const-string v2, "servicediscovery"
.line 1021
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/view/accessibility/AccessibilityManager;
const-string v2, "accessibility"
.line 1022
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/accounts/AccountManager;
const-string v2, "account"
.line 1023
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/app/ActivityManager;
const-string v2, "activity"
.line 1024
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/app/AlarmManager;
const-string v2, "alarm"
.line 1025
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/media/AudioManager;
const-string v2, "audio"
.line 1026
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/content/ClipboardManager;
const-string v2, "clipboard"
.line 1027
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/net/ConnectivityManager;
const-string v2, "connectivity"
.line 1028
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/app/admin/DevicePolicyManager;
const-string v2, "device_policy"
.line 1029
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/app/DownloadManager;
const-string v2, "download"
.line 1030
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/os/DropBoxManager;
const-string v2, "dropbox"
.line 1031
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/view/inputmethod/InputMethodManager;
const-string v2, "input_method"
.line 1032
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/app/KeyguardManager;
const-string v2, "keyguard"
.line 1033
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/view/LayoutInflater;
const-string v2, "layout_inflater"
.line 1034
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/location/LocationManager;
const-string v2, "location"
.line 1035
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/nfc/NfcManager;
const-string v2, "nfc"
.line 1036
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/app/NotificationManager;
const-string v2, "notification"
.line 1037
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/os/PowerManager;
const-string v2, "power"
.line 1038
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/app/SearchManager;
const-string v2, "search"
.line 1039
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/hardware/SensorManager;
const-string v2, "sensor"
.line 1040
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/os/storage/StorageManager;
const-string v2, "storage"
.line 1041
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/telephony/TelephonyManager;
const-string v2, "phone"
.line 1042
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/view/textservice/TextServicesManager;
const-string v2, "textservices"
.line 1043
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/app/UiModeManager;
const-string v2, "uimode"
.line 1044
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/hardware/usb/UsbManager;
const-string v2, "usb"
.line 1045
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/os/Vibrator;
const-string v2, "vibrator"
.line 1046
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/app/WallpaperManager;
const-string v2, "wallpaper"
.line 1047
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/net/wifi/p2p/WifiP2pManager;
const-string v2, "wifip2p"
.line 1048
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/net/wifi/WifiManager;
const-string v2, "wifi"
.line 1049
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-class v1, Landroid/view/WindowManager;
const-string v2, "window"
.line 1050
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method
.method private constructor <init>()V
.locals 0
.line 990
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,27 @@
.class public interface abstract annotation Landroidx/core/content/ContextCompat$RegisterReceiverFlags;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/ContextCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "RegisterReceiverFlags"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,132 @@
.class public final Landroidx/core/content/ContextKt;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static final synthetic getSystemService(Landroid/content/Context;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/content/Context;",
")TT;"
}
.end annotation
const/4 v0, 0x4
const-string v1, "T"
.line 31
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->reifiedOperationMarker(ILjava/lang/String;)V
const-class v0, Ljava/lang/Object;
invoke-static {p0, v0}, Landroidx/core/content/ContextCompat;->getSystemService(Landroid/content/Context;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static final withStyledAttributes(Landroid/content/Context;I[ILkotlin/jvm/functions/Function1;)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/StyleRes;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"I[I",
"Lkotlin/jvm/functions/Function1;",
")V"
}
.end annotation
.line 76
invoke-virtual {p0, p1, p2}, Landroid/content/Context;->obtainStyledAttributes(I[I)Landroid/content/res/TypedArray;
move-result-object p0
invoke-interface {p3, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
invoke-virtual {p0}, Landroid/content/res/TypedArray;->recycle()V
return-void
.end method
.method public static final withStyledAttributes(Landroid/content/Context;Landroid/util/AttributeSet;[IIILkotlin/jvm/functions/Function1;)V
.locals 0
.param p3 # I
.annotation build Landroidx/annotation/AttrRes;
.end annotation
.end param
.param p4 # I
.annotation build Landroidx/annotation/StyleRes;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Landroid/util/AttributeSet;",
"[III",
"Lkotlin/jvm/functions/Function1;",
")V"
}
.end annotation
.line 58
invoke-virtual {p0, p1, p2, p3, p4}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
move-result-object p0
invoke-interface {p5, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
invoke-virtual {p0}, Landroid/content/res/TypedArray;->recycle()V
return-void
.end method
.method public static synthetic withStyledAttributes$default(Landroid/content/Context;Landroid/util/AttributeSet;[IIILkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
.locals 1
and-int/lit8 p7, p6, 0x1
if-eqz p7, :cond_0
const/4 p1, 0x0
:cond_0
and-int/lit8 p7, p6, 0x4
const/4 v0, 0x0
if-eqz p7, :cond_1
move p3, v0
:cond_1
and-int/lit8 p6, p6, 0x8
if-eqz p6, :cond_2
move p4, v0
.line 58
:cond_2
invoke-virtual {p0, p1, p2, p3, p4}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
move-result-object p0
invoke-interface {p5, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
invoke-virtual {p0}, Landroid/content/res/TypedArray;->recycle()V
return-void
.end method

View File

@@ -0,0 +1,40 @@
.class Landroidx/core/content/FileProvider$Api21Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x15
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/FileProvider;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api21Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 990
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getExternalMediaDirs(Landroid/content/Context;)[Ljava/io/File;
.locals 0
.line 996
invoke-virtual {p0}, Landroid/content/Context;->getExternalMediaDirs()[Ljava/io/File;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,22 @@
.class interface abstract Landroidx/core/content/FileProvider$PathStrategy;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/FileProvider;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x609
name = "PathStrategy"
.end annotation
# virtual methods
.method public abstract getFileForUri(Landroid/net/Uri;)Ljava/io/File;
.end method
.method public abstract getUriForFile(Ljava/io/File;)Landroid/net/Uri;
.end method

View File

@@ -0,0 +1,545 @@
.class Landroidx/core/content/FileProvider$SimplePathStrategy;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/content/FileProvider$PathStrategy;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/FileProvider;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "SimplePathStrategy"
.end annotation
# instance fields
.field private final mAuthority:Ljava/lang/String;
.field private final mRoots:Ljava/util/HashMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Ljava/io/File;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/String;)V
.locals 1
.line 821
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 819
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Landroidx/core/content/FileProvider$SimplePathStrategy;->mRoots:Ljava/util/HashMap;
iput-object p1, p0, Landroidx/core/content/FileProvider$SimplePathStrategy;->mAuthority:Ljava/lang/String;
return-void
.end method
.method private belongsToRoot(Ljava/lang/String;Ljava/lang/String;)Z
.locals 1
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 922
invoke-static {p1}, Landroidx/core/content/FileProvider;->access$000(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
.line 923
invoke-static {p2}, Landroidx/core/content/FileProvider;->access$000(Ljava/lang/String;)Ljava/lang/String;
move-result-object p2
.line 925
invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_1
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 p2, 0x2f
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
invoke-virtual {p1, p2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
move-result p1
if-eqz p1, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 p1, 0x1
:goto_1
return p1
.end method
# virtual methods
.method public addRoot(Ljava/lang/String;Ljava/io/File;)V
.locals 3
.line 830
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_0
.line 836
:try_start_0
invoke-virtual {p2}, Ljava/io/File;->getCanonicalFile()Ljava/io/File;
move-result-object p2
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
iget-object v0, p0, Landroidx/core/content/FileProvider$SimplePathStrategy;->mRoots:Ljava/util/HashMap;
.line 842
invoke-virtual {v0, p1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
:catch_0
move-exception p1
.line 838
new-instance v0, Ljava/lang/IllegalArgumentException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Failed to resolve canonical path for "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {v0, p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v0
.line 831
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Name must not be empty"
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public getFileForUri(Landroid/net/Uri;)Ljava/io/File;
.locals 4
.line 885
invoke-virtual {p1}, Landroid/net/Uri;->getEncodedPath()Ljava/lang/String;
move-result-object v0
const/16 v1, 0x2f
const/4 v2, 0x1
.line 887
invoke-virtual {v0, v1, v2}, Ljava/lang/String;->indexOf(II)I
move-result v1
.line 888
invoke-virtual {v0, v2, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v3
invoke-static {v3}, Landroid/net/Uri;->decode(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
add-int/2addr v1, v2
.line 889
invoke-virtual {v0, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Landroid/net/Uri;->decode(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
iget-object v1, p0, Landroidx/core/content/FileProvider$SimplePathStrategy;->mRoots:Ljava/util/HashMap;
.line 891
invoke-virtual {v1, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/io/File;
if-eqz v1, :cond_1
.line 896
new-instance p1, Ljava/io/File;
invoke-direct {p1, v1, v0}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V
.line 898
:try_start_0
invoke-virtual {p1}, Ljava/io/File;->getCanonicalFile()Ljava/io/File;
move-result-object p1
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.line 903
invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;
move-result-object v0
invoke-virtual {v1}, Ljava/io/File;->getPath()Ljava/lang/String;
move-result-object v1
invoke-direct {p0, v0, v1}, Landroidx/core/content/FileProvider$SimplePathStrategy;->belongsToRoot(Ljava/lang/String;Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_0
return-object p1
.line 904
:cond_0
new-instance p1, Ljava/lang/SecurityException;
const-string v0, "Resolved path jumped beyond configured root"
invoke-direct {p1, v0}, Ljava/lang/SecurityException;-><init>(Ljava/lang/String;)V
throw p1
.line 900
:catch_0
new-instance v0, Ljava/lang/IllegalArgumentException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Failed to resolve canonical path for "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.line 893
:cond_1
new-instance v0, Ljava/lang/IllegalArgumentException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Unable to find configured root for "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getUriForFile(Ljava/io/File;)Landroid/net/Uri;
.locals 5
.line 849
:try_start_0
invoke-virtual {p1}, Ljava/io/File;->getCanonicalPath()Ljava/lang/String;
move-result-object p1
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
iget-object v0, p0, Landroidx/core/content/FileProvider$SimplePathStrategy;->mRoots:Ljava/util/HashMap;
.line 856
invoke-virtual {v0}, Ljava/util/HashMap;->entrySet()Ljava/util/Set;
move-result-object v0
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v0
const/4 v1, 0x0
:cond_0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/util/Map$Entry;
.line 857
invoke-interface {v2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/io/File;
invoke-virtual {v3}, Ljava/io/File;->getPath()Ljava/lang/String;
move-result-object v3
.line 858
invoke-direct {p0, p1, v3}, Landroidx/core/content/FileProvider$SimplePathStrategy;->belongsToRoot(Ljava/lang/String;Ljava/lang/String;)Z
move-result v4
if-eqz v4, :cond_0
if-eqz v1, :cond_1
.line 859
invoke-virtual {v3}, Ljava/lang/String;->length()I
move-result v3
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/io/File;
invoke-virtual {v4}, Ljava/io/File;->getPath()Ljava/lang/String;
move-result-object v4
invoke-virtual {v4}, Ljava/lang/String;->length()I
move-result v4
if-le v3, v4, :cond_0
:cond_1
move-object v1, v2
goto :goto_0
:cond_2
if-eqz v1, :cond_4
.line 870
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/io/File;
invoke-virtual {v0}, Ljava/io/File;->getPath()Ljava/lang/String;
move-result-object v0
const-string v2, "/"
.line 871
invoke-virtual {v0, v2}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
move-result v3
if-eqz v3, :cond_3
.line 872
invoke-virtual {v0}, Ljava/lang/String;->length()I
move-result v0
invoke-virtual {p1, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object p1
goto :goto_1
.line 874
:cond_3
invoke-virtual {v0}, Ljava/lang/String;->length()I
move-result v0
add-int/lit8 v0, v0, 0x1
invoke-virtual {p1, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object p1
.line 878
:goto_1
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
invoke-static {v1}, Landroid/net/Uri;->encode(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v1, 0x2f
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-static {p1, v2}, Landroid/net/Uri;->encode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
.line 879
new-instance v0, Landroid/net/Uri$Builder;
invoke-direct {v0}, Landroid/net/Uri$Builder;-><init>()V
const-string v1, "content"
invoke-virtual {v0, v1}, Landroid/net/Uri$Builder;->scheme(Ljava/lang/String;)Landroid/net/Uri$Builder;
move-result-object v0
iget-object v1, p0, Landroidx/core/content/FileProvider$SimplePathStrategy;->mAuthority:Ljava/lang/String;
.line 880
invoke-virtual {v0, v1}, Landroid/net/Uri$Builder;->authority(Ljava/lang/String;)Landroid/net/Uri$Builder;
move-result-object v0
invoke-virtual {v0, p1}, Landroid/net/Uri$Builder;->encodedPath(Ljava/lang/String;)Landroid/net/Uri$Builder;
move-result-object p1
invoke-virtual {p1}, Landroid/net/Uri$Builder;->build()Landroid/net/Uri;
move-result-object p1
return-object p1
.line 865
:cond_4
new-instance v0, Ljava/lang/IllegalArgumentException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Failed to find configured root that contains "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.line 851
:catch_0
new-instance v0, Ljava/lang/IllegalArgumentException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Failed to resolve canonical path for "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,167 @@
.class Landroidx/core/content/IntentCompat$Api33Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x21
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/IntentCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api33Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 329
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getParcelableArrayExtra(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/Class;)[Ljava/lang/Object;
.locals 0
.param p0 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p2 # Ljava/lang/Class;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/content/Intent;",
"Ljava/lang/String;",
"Ljava/lang/Class<",
"TT;>;)[TT;"
}
.end annotation
.line 340
invoke-virtual {p0, p1, p2}, Landroid/content/Intent;->getParcelableArrayExtra(Ljava/lang/String;Ljava/lang/Class;)[Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static getParcelableArrayListExtra(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/Class;)Ljava/util/ArrayList;
.locals 0
.param p0 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p2 # Ljava/lang/Class;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/content/Intent;",
"Ljava/lang/String;",
"Ljava/lang/Class<",
"+TT;>;)",
"Ljava/util/ArrayList<",
"TT;>;"
}
.end annotation
.line 345
invoke-virtual {p0, p1, p2}, Landroid/content/Intent;->getParcelableArrayListExtra(Ljava/lang/String;Ljava/lang/Class;)Ljava/util/ArrayList;
move-result-object p0
return-object p0
.end method
.method public static getParcelableExtra(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
.locals 0
.param p0 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p2 # Ljava/lang/Class;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/content/Intent;",
"Ljava/lang/String;",
"Ljava/lang/Class<",
"TT;>;)TT;"
}
.end annotation
.line 335
invoke-virtual {p0, p1, p2}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static getSerializableExtra(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/Class;)Ljava/io/Serializable;
.locals 0
.param p0 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p2 # Ljava/lang/Class;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Ljava/io/Serializable;",
">(",
"Landroid/content/Intent;",
"Ljava/lang/String;",
"Ljava/lang/Class<",
"TT;>;)TT;"
}
.end annotation
.line 350
invoke-virtual {p0, p1, p2}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;Ljava/lang/Class;)Ljava/io/Serializable;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,425 @@
.class public final Landroidx/core/content/IntentCompat;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/core/content/IntentCompat$Api33Impl;
}
.end annotation
# static fields
.field public static final ACTION_CREATE_REMINDER:Ljava/lang/String; = "android.intent.action.CREATE_REMINDER"
.annotation build Landroid/annotation/SuppressLint;
value = {
"ActionValue"
}
.end annotation
.end field
.field public static final CATEGORY_LEANBACK_LAUNCHER:Ljava/lang/String; = "android.intent.category.LEANBACK_LAUNCHER"
.field public static final EXTRA_HTML_TEXT:Ljava/lang/String; = "android.intent.extra.HTML_TEXT"
.field public static final EXTRA_START_PLAYBACK:Ljava/lang/String; = "android.intent.extra.START_PLAYBACK"
.field public static final EXTRA_TIME:Ljava/lang/String; = "android.intent.extra.TIME"
.annotation build Landroid/annotation/SuppressLint;
value = {
"ActionValue"
}
.end annotation
.end field
# direct methods
.method private constructor <init>()V
.locals 0
.line 45
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static createManageUnusedAppRestrictionsIntent(Landroid/content/Context;Ljava/lang/String;)Landroid/content/Intent;
.locals 5
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 167
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v0
invoke-static {v0}, Landroidx/core/content/PackageManagerCompat;->areUnusedAppRestrictionsAvailable(Landroid/content/pm/PackageManager;)Z
move-result v0
if-eqz v0, :cond_2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1f
const/4 v2, 0x0
const-string v3, "package"
if-lt v0, v1, :cond_0
.line 176
new-instance p0, Landroid/content/Intent;
const-string v0, "android.settings.APPLICATION_DETAILS_SETTINGS"
invoke-direct {p0, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
.line 177
invoke-static {v3, p1, v2}, Landroid/net/Uri;->fromParts(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;
move-result-object p1
invoke-virtual {p0, p1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;
move-result-object p0
return-object p0
.line 180
:cond_0
new-instance v1, Landroid/content/Intent;
const-string v4, "android.intent.action.AUTO_REVOKE_PERMISSIONS"
invoke-direct {v1, v4}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
.line 182
invoke-static {v3, p1, v2}, Landroid/net/Uri;->fromParts(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;
move-result-object p1
invoke-virtual {v1, p1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;
move-result-object p1
const/16 v1, 0x1e
if-lt v0, v1, :cond_1
return-object p1
.line 192
:cond_1
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object p0
invoke-static {p0}, Landroidx/core/content/PackageManagerCompat;->getPermissionRevocationVerifierApp(Landroid/content/pm/PackageManager;)Ljava/lang/String;
move-result-object p0
.line 196
invoke-static {p0}, Landroidx/core/util/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/lang/String;
invoke-virtual {p1, p0}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;
move-result-object p0
return-object p0
.line 168
:cond_2
new-instance p0, Ljava/lang/UnsupportedOperationException;
const-string p1, "Unused App Restriction features are not available on this device"
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static getParcelableArrayExtra(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/Class;)[Landroid/os/Parcelable;
.locals 2
.param p0 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p2 # Ljava/lang/Class;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroid/annotation/SuppressLint;
value = {
"ArrayReturn",
"NullableCollection"
}
.end annotation
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Intent;",
"Ljava/lang/String;",
"Ljava/lang/Class<",
"+",
"Landroid/os/Parcelable;",
">;)[",
"Landroid/os/Parcelable;"
}
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x22
if-lt v0, v1, :cond_0
.line 256
invoke-static {p0, p1, p2}, Landroidx/core/content/IntentCompat$Api33Impl;->getParcelableArrayExtra(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/Class;)[Ljava/lang/Object;
move-result-object p0
check-cast p0, [Landroid/os/Parcelable;
return-object p0
.line 258
:cond_0
invoke-virtual {p0, p1}, Landroid/content/Intent;->getParcelableArrayExtra(Ljava/lang/String;)[Landroid/os/Parcelable;
move-result-object p0
return-object p0
.end method
.method public static getParcelableArrayListExtra(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/Class;)Ljava/util/ArrayList;
.locals 2
.param p0 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p2 # Ljava/lang/Class;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroid/annotation/SuppressLint;
value = {
"ConcreteCollection",
"NullableCollection"
}
.end annotation
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/content/Intent;",
"Ljava/lang/String;",
"Ljava/lang/Class<",
"+TT;>;)",
"Ljava/util/ArrayList<",
"TT;>;"
}
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x22
if-lt v0, v1, :cond_0
.line 289
invoke-static {p0, p1, p2}, Landroidx/core/content/IntentCompat$Api33Impl;->getParcelableArrayListExtra(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/Class;)Ljava/util/ArrayList;
move-result-object p0
return-object p0
.line 291
:cond_0
invoke-virtual {p0, p1}, Landroid/content/Intent;->getParcelableArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;
move-result-object p0
return-object p0
.end method
.method public static getParcelableExtra(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
.locals 2
.param p0 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p2 # Ljava/lang/Class;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/content/Intent;",
"Ljava/lang/String;",
"Ljava/lang/Class<",
"TT;>;)TT;"
}
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x22
if-lt v0, v1, :cond_0
.line 224
invoke-static {p0, p1, p2}, Landroidx/core/content/IntentCompat$Api33Impl;->getParcelableExtra(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object p0
return-object p0
.line 226
:cond_0
invoke-virtual {p0, p1}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;
move-result-object p0
.line 227
invoke-virtual {p2, p0}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_1
goto :goto_0
:cond_1
const/4 p0, 0x0
:goto_0
return-object p0
.end method
.method public static getSerializableExtra(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/Class;)Ljava/io/Serializable;
.locals 2
.param p0 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p2 # Ljava/lang/Class;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Ljava/io/Serializable;",
">(",
"Landroid/content/Intent;",
"Ljava/lang/String;",
"Ljava/lang/Class<",
"TT;>;)TT;"
}
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x22
if-lt v0, v1, :cond_0
.line 320
invoke-static {p0, p1, p2}, Landroidx/core/content/IntentCompat$Api33Impl;->getSerializableExtra(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/Class;)Ljava/io/Serializable;
move-result-object p0
return-object p0
.line 322
:cond_0
invoke-virtual {p0, p1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;
move-result-object p0
.line 323
invoke-virtual {p2, p0}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_1
goto :goto_0
:cond_1
const/4 p0, 0x0
:goto_0
return-object p0
.end method
.method public static makeMainSelectorActivity(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.locals 0
.param p0 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 123
invoke-static {p0, p1}, Landroid/content/Intent;->makeMainSelectorActivity(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,29 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$$ExternalSyntheticLambda0;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Consumer;
# direct methods
.method public synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final accept(Ljava/lang/Object;)V
.locals 0
.line 0
check-cast p1, Ljava/lang/String;
invoke-static {p1}, Landroidx/core/content/IntentSanitizer;->$r8$lambda$cs9npxBvv_qtzxpDgSnPy7MmurY(Ljava/lang/String;)V
return-void
.end method

View File

@@ -0,0 +1,29 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$$ExternalSyntheticLambda1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Consumer;
# direct methods
.method public synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final accept(Ljava/lang/Object;)V
.locals 0
.line 0
check-cast p1, Ljava/lang/String;
invoke-static {p1}, Landroidx/core/content/IntentSanitizer;->$r8$lambda$NofwxHOZrEEV1MRTpUn9ROuxIY8(Ljava/lang/String;)V
return-void
.end method

View File

@@ -0,0 +1,14 @@
.class synthetic Landroidx/core/content/IntentSanitizer$1;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/IntentSanitizer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1009
name = null
.end annotation

View File

@@ -0,0 +1,51 @@
.class Landroidx/core/content/IntentSanitizer$Api29Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1d
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/IntentSanitizer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api29Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 963
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getIdentifier(Landroid/content/Intent;)Ljava/lang/String;
.locals 0
.line 972
invoke-virtual {p0}, Landroid/content/Intent;->getIdentifier()Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static setIdentifier(Landroid/content/Intent;Ljava/lang/String;)Landroid/content/Intent;
.locals 0
.line 968
invoke-virtual {p0, p1}, Landroid/content/Intent;->setIdentifier(Ljava/lang/String;)Landroid/content/Intent;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,89 @@
.class Landroidx/core/content/IntentSanitizer$Api31Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1f
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/IntentSanitizer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api31Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 949
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static checkOtherMembers(ILandroid/content/ClipData$Item;Landroidx/core/util/Consumer;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Landroid/content/ClipData$Item;",
"Landroidx/core/util/Consumer<",
"Ljava/lang/String;",
">;)V"
}
.end annotation
.line 953
invoke-virtual {p1}, Landroid/content/ClipData$Item;->getHtmlText()Ljava/lang/String;
move-result-object v0
if-nez v0, :cond_0
invoke-virtual {p1}, Landroid/content/ClipData$Item;->getIntent()Landroid/content/Intent;
move-result-object v0
if-nez v0, :cond_0
.line 954
invoke-virtual {p1}, Landroid/content/ClipData$Item;->getTextLinks()Landroid/view/textclassifier/TextLinks;
move-result-object v0
if-eqz v0, :cond_1
.line 955
:cond_0
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "ClipData item at position "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p0, " contains htmlText, textLinks or intent: "
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
invoke-interface {p2, p0}, Landroidx/core/util/Consumer;->accept(Ljava/lang/Object;)V
:cond_1
return-void
.end method

View File

@@ -0,0 +1,29 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda0;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# direct methods
.method public synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 0
.line 0
invoke-static {p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$JqtzG9U86Ag945qpBJ8rYic8JJ4(Ljava/lang/Object;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,29 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# direct methods
.method public synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 0
.line 0
invoke-static {p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$eCvXo7KAaM8a9dmzzdotDaaREs8(Ljava/lang/Object;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,40 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda10;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# instance fields
.field public final synthetic f$0:Ljava/lang/String;
# direct methods
.method public synthetic constructor <init>(Ljava/lang/String;)V
.locals 0
.line 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda10;->f$0:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 1
.line 0
iget-object v0, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda10;->f$0:Ljava/lang/String;
check-cast p1, Landroid/net/Uri;
invoke-static {v0, p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$KxwlvcZEZo6c-8ioUfy-JK8aiwg(Ljava/lang/String;Landroid/net/Uri;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,40 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda11;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# instance fields
.field public final synthetic f$0:Ljava/lang/String;
# direct methods
.method public synthetic constructor <init>(Ljava/lang/String;)V
.locals 0
.line 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda11;->f$0:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 1
.line 0
iget-object v0, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda11;->f$0:Ljava/lang/String;
check-cast p1, Ljava/lang/String;
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,40 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda12;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# instance fields
.field public final synthetic f$0:Ljava/lang/String;
# direct methods
.method public synthetic constructor <init>(Ljava/lang/String;)V
.locals 0
.line 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda12;->f$0:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 1
.line 0
iget-object v0, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda12;->f$0:Ljava/lang/String;
check-cast p1, Landroid/net/Uri;
invoke-static {v0, p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$hP04n-Fqyx8Uqjz-Y2cMl4EYTQ4(Ljava/lang/String;Landroid/net/Uri;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,31 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda13;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# direct methods
.method public synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 0
.line 0
check-cast p1, Landroid/content/ComponentName;
invoke-static {p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$FsaUUrhV33pck7xEcNErjp6-t-I(Landroid/content/ComponentName;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,44 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda14;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# instance fields
.field public final synthetic f$0:Ljava/lang/Class;
.field public final synthetic f$1:Landroidx/core/util/Predicate;
# direct methods
.method public synthetic constructor <init>(Ljava/lang/Class;Landroidx/core/util/Predicate;)V
.locals 0
.line 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda14;->f$0:Ljava/lang/Class;
iput-object p2, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda14;->f$1:Landroidx/core/util/Predicate;
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 2
.line 0
iget-object v0, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda14;->f$0:Ljava/lang/Class;
iget-object v1, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda14;->f$1:Landroidx/core/util/Predicate;
invoke-static {v0, v1, p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$mjBYkmM8ToC_lDxhzbaIvMBaWXI(Ljava/lang/Class;Landroidx/core/util/Predicate;Ljava/lang/Object;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,40 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda15;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# instance fields
.field public final synthetic f$0:Ljava/lang/String;
# direct methods
.method public synthetic constructor <init>(Ljava/lang/String;)V
.locals 0
.line 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda15;->f$0:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 1
.line 0
iget-object v0, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda15;->f$0:Ljava/lang/String;
check-cast p1, Landroid/content/ComponentName;
invoke-static {v0, p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$eGekpZtVpL_YVf2hPyzEP-lEMe4(Ljava/lang/String;Landroid/content/ComponentName;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,40 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda16;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# instance fields
.field public final synthetic f$0:Ljava/lang/String;
# direct methods
.method public synthetic constructor <init>(Ljava/lang/String;)V
.locals 0
.line 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda16;->f$0:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 1
.line 0
iget-object v0, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda16;->f$0:Ljava/lang/String;
check-cast p1, Landroid/net/Uri;
invoke-static {v0, p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$Xpt8uzicbIAL76-81iZQzx_qLWI(Ljava/lang/String;Landroid/net/Uri;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,40 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda17;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# instance fields
.field public final synthetic f$0:Ljava/lang/String;
# direct methods
.method public synthetic constructor <init>(Ljava/lang/String;)V
.locals 0
.line 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda17;->f$0:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 1
.line 0
iget-object v0, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda17;->f$0:Ljava/lang/String;
check-cast p1, Landroid/net/Uri;
invoke-static {v0, p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$Eddo0m3KohqNd-vDITva-WLNd_s(Ljava/lang/String;Landroid/net/Uri;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,40 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda18;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# instance fields
.field public final synthetic f$0:Landroid/content/ComponentName;
# direct methods
.method public synthetic constructor <init>(Landroid/content/ComponentName;)V
.locals 0
.line 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda18;->f$0:Landroid/content/ComponentName;
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 1
.line 0
iget-object v0, p0, Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda18;->f$0:Landroid/content/ComponentName;
check-cast p1, Landroid/content/ComponentName;
invoke-virtual {v0, p1}, Landroid/content/ComponentName;->equals(Ljava/lang/Object;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,31 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# direct methods
.method public synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 0
.line 0
check-cast p1, Ljava/lang/String;
invoke-static {p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$JLHq9UnD7GuE-xNJ8qTW9WH_UCM(Ljava/lang/String;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,31 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda3;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# direct methods
.method public synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 0
.line 0
check-cast p1, Landroid/net/Uri;
invoke-static {p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$NqpErgsN-iCCwonMew-IjQVkdTQ(Landroid/net/Uri;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,31 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda4;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# direct methods
.method public synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 0
.line 0
check-cast p1, Ljava/lang/String;
invoke-static {p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$4U_GfrIZHjV6ewfvuClRif5BQ4U(Ljava/lang/String;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,31 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda5;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# direct methods
.method public synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 0
.line 0
check-cast p1, Ljava/lang/String;
invoke-static {p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$QGDXK6Iz77ZiVenuuvMgc-uYOdA(Ljava/lang/String;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,31 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda6;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# direct methods
.method public synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 0
.line 0
check-cast p1, Ljava/lang/String;
invoke-static {p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$LhhAvyYhT2VWSWan7HxDqulwnIA(Ljava/lang/String;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,31 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda7;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# direct methods
.method public synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 0
.line 0
check-cast p1, Landroid/content/ComponentName;
invoke-static {p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$iAMpnB3kBE20tG9-ZfpyJMElSSs(Landroid/content/ComponentName;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,31 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda8;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# direct methods
.method public synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 0
.line 0
check-cast p1, Landroid/net/Uri;
invoke-static {p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$7_PLI9sHfa-phUU-wfc7c0K0hj4(Landroid/net/Uri;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,31 @@
.class public final synthetic Landroidx/core/content/IntentSanitizer$Builder$$ExternalSyntheticLambda9;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# direct methods
.method public synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 0
.line 0
check-cast p1, Landroid/content/ClipData;
invoke-static {p1}, Landroidx/core/content/IntentSanitizer$Builder;->$r8$lambda$u88Zh5ZHnZ5xxf_Hz5dGwcPRwzU(Landroid/content/ClipData;)Z
move-result p1
return p1
.end method

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,63 @@
.class Landroidx/core/content/LocusIdCompat$Api29Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1d
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/LocusIdCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api29Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 152
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static create(Ljava/lang/String;)Landroid/content/LocusId;
.locals 1
.param p0 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 159
new-instance v0, Landroid/content/LocusId;
invoke-direct {v0, p0}, Landroid/content/LocusId;-><init>(Ljava/lang/String;)V
return-object v0
.end method
.method public static getId(Landroid/content/LocusId;)Ljava/lang/String;
.locals 0
.param p0 # Landroid/content/LocusId;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 167
invoke-virtual {p0}, Landroid/content/LocusId;->getId()Ljava/lang/String;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,278 @@
.class public final Landroidx/core/content/LocusIdCompat;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/core/content/LocusIdCompat$Api29Impl;
}
.end annotation
# instance fields
.field private final mId:Ljava/lang/String;
.field private final mWrapped:Landroid/content/LocusId;
# direct methods
.method public constructor <init>(Ljava/lang/String;)V
.locals 2
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 80
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-string v0, "id cannot be empty"
.line 81
invoke-static {p1, v0}, Landroidx/core/util/Preconditions;->checkStringNotEmpty(Ljava/lang/CharSequence;Ljava/lang/Object;)Ljava/lang/CharSequence;
move-result-object v0
check-cast v0, Ljava/lang/String;
iput-object v0, p0, Landroidx/core/content/LocusIdCompat;->mId:Ljava/lang/String;
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1d
if-lt v0, v1, :cond_0
.line 83
invoke-static {p1}, Landroidx/core/content/LocusIdCompat$Api29Impl;->create(Ljava/lang/String;)Landroid/content/LocusId;
move-result-object p1
iput-object p1, p0, Landroidx/core/content/LocusIdCompat;->mWrapped:Landroid/content/LocusId;
goto :goto_0
:cond_0
const/4 p1, 0x0
iput-object p1, p0, Landroidx/core/content/LocusIdCompat;->mWrapped:Landroid/content/LocusId;
:goto_0
return-void
.end method
.method private getSanitizedId()Ljava/lang/String;
.locals 2
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Landroidx/core/content/LocusIdCompat;->mId:Ljava/lang/String;
.line 146
invoke-virtual {v0}, Ljava/lang/String;->length()I
move-result v0
.line 147
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v0, "_chars"
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public static toLocusIdCompat(Landroid/content/LocusId;)Landroidx/core/content/LocusIdCompat;
.locals 2
.param p0 # Landroid/content/LocusId;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1d
.end annotation
const-string v0, "locusId cannot be null"
.line 139
invoke-static {p0, v0}, Landroidx/core/util/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 140
new-instance v0, Landroidx/core/content/LocusIdCompat;
invoke-static {p0}, Landroidx/core/content/LocusIdCompat$Api29Impl;->getId(Landroid/content/LocusId;)Ljava/lang/String;
move-result-object p0
const-string v1, "id cannot be empty"
invoke-static {p0, v1}, Landroidx/core/util/Preconditions;->checkStringNotEmpty(Ljava/lang/CharSequence;Ljava/lang/Object;)Ljava/lang/CharSequence;
move-result-object p0
check-cast p0, Ljava/lang/String;
invoke-direct {v0, p0}, Landroidx/core/content/LocusIdCompat;-><init>(Ljava/lang/String;)V
return-object v0
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 4
.param p1 # Ljava/lang/Object;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
:cond_0
const/4 v1, 0x0
if-nez p1, :cond_1
return v1
.line 109
:cond_1
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
const-class v3, Landroidx/core/content/LocusIdCompat;
if-eq v3, v2, :cond_2
return v1
.line 110
:cond_2
check-cast p1, Landroidx/core/content/LocusIdCompat;
iget-object v2, p0, Landroidx/core/content/LocusIdCompat;->mId:Ljava/lang/String;
if-nez v2, :cond_4
.line 112
iget-object p1, p1, Landroidx/core/content/LocusIdCompat;->mId:Ljava/lang/String;
if-nez p1, :cond_3
goto :goto_0
:cond_3
move v0, v1
:goto_0
return v0
.line 114
:cond_4
iget-object p1, p1, Landroidx/core/content/LocusIdCompat;->mId:Ljava/lang/String;
invoke-virtual {v2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
return p1
.end method
.method public getId()Ljava/lang/String;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Landroidx/core/content/LocusIdCompat;->mId:Ljava/lang/String;
return-object v0
.end method
.method public hashCode()I
.locals 2
iget-object v0, p0, Landroidx/core/content/LocusIdCompat;->mId:Ljava/lang/String;
if-nez v0, :cond_0
const/4 v0, 0x0
goto :goto_0
.line 101
:cond_0
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
:goto_0
const/16 v1, 0x1f
add-int/2addr v1, v0
return v1
.end method
.method public toLocusId()Landroid/content/LocusId;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1d
.end annotation
iget-object v0, p0, Landroidx/core/content/LocusIdCompat;->mWrapped:Landroid/content/LocusId;
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 121
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "LocusIdCompat["
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-direct {p0}, Landroidx/core/content/LocusIdCompat;->getSanitizedId()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, "]"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View File

@@ -0,0 +1,369 @@
.class public final Landroidx/core/content/MimeTypeFilter;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method private constructor <init>()V
.locals 0
.line 43
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static matches(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
.locals 6
.param p0 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p1 # [Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
const/4 v0, 0x0
if-nez p0, :cond_0
return-object v0
:cond_0
const-string v1, "/"
.line 97
invoke-virtual {p0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
move-result-object p0
.line 98
array-length v2, p1
const/4 v3, 0x0
:goto_0
if-ge v3, v2, :cond_2
aget-object v4, p1, v3
.line 99
invoke-virtual {v4, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
move-result-object v5
.line 100
invoke-static {p0, v5}, Landroidx/core/content/MimeTypeFilter;->mimeTypeAgainstFilter([Ljava/lang/String;[Ljava/lang/String;)Z
move-result v5
if-eqz v5, :cond_1
return-object v4
:cond_1
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_2
return-object v0
.end method
.method public static matches([Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.locals 6
.param p0 # [Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
const/4 v0, 0x0
if-nez p0, :cond_0
return-object v0
:cond_0
const-string v1, "/"
.line 119
invoke-virtual {p1, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
move-result-object p1
.line 120
array-length v2, p0
const/4 v3, 0x0
:goto_0
if-ge v3, v2, :cond_2
aget-object v4, p0, v3
.line 121
invoke-virtual {v4, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
move-result-object v5
.line 122
invoke-static {v5, p1}, Landroidx/core/content/MimeTypeFilter;->mimeTypeAgainstFilter([Ljava/lang/String;[Ljava/lang/String;)Z
move-result v5
if-eqz v5, :cond_1
return-object v4
:cond_1
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_2
return-object v0
.end method
.method public static matches(Ljava/lang/String;Ljava/lang/String;)Z
.locals 1
.param p0 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
if-nez p0, :cond_0
const/4 p0, 0x0
return p0
:cond_0
const-string v0, "/"
.line 80
invoke-virtual {p0, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
move-result-object p0
.line 81
invoke-virtual {p1, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
move-result-object p1
.line 83
invoke-static {p0, p1}, Landroidx/core/content/MimeTypeFilter;->mimeTypeAgainstFilter([Ljava/lang/String;[Ljava/lang/String;)Z
move-result p0
return p0
.end method
.method public static matchesMany([Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
.locals 6
.param p0 # [Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
const/4 v0, 0x0
if-nez p0, :cond_0
new-array p0, v0, [Ljava/lang/String;
return-object p0
.line 141
:cond_0
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
const-string v2, "/"
.line 142
invoke-virtual {p1, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
move-result-object p1
.line 143
array-length v3, p0
:goto_0
if-ge v0, v3, :cond_2
aget-object v4, p0, v0
.line 144
invoke-virtual {v4, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
move-result-object v5
.line 145
invoke-static {v5, p1}, Landroidx/core/content/MimeTypeFilter;->mimeTypeAgainstFilter([Ljava/lang/String;[Ljava/lang/String;)Z
move-result v5
if-eqz v5, :cond_1
.line 146
invoke-virtual {v1, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
:cond_1
add-int/lit8 v0, v0, 0x1
goto :goto_0
.line 150
:cond_2
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
move-result p0
new-array p0, p0, [Ljava/lang/String;
invoke-virtual {v1, p0}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p0
check-cast p0, [Ljava/lang/String;
return-object p0
.end method
.method private static mimeTypeAgainstFilter([Ljava/lang/String;[Ljava/lang/String;)Z
.locals 5
.param p0 # [Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # [Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 48
array-length v0, p1
const/4 v1, 0x2
if-ne v0, v1, :cond_4
const/4 v0, 0x0
.line 52
aget-object v2, p1, v0
invoke-virtual {v2}, Ljava/lang/String;->isEmpty()Z
move-result v2
if-nez v2, :cond_3
const/4 v2, 0x1
aget-object v3, p1, v2
invoke-virtual {v3}, Ljava/lang/String;->isEmpty()Z
move-result v3
if-nez v3, :cond_3
.line 56
array-length v3, p0
if-eq v3, v1, :cond_0
return v0
.line 59
:cond_0
aget-object v1, p1, v0
const-string v3, "*"
invoke-virtual {v3, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_1
aget-object v1, p1, v0
aget-object v4, p0, v0
.line 60
invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_1
return v0
.line 63
:cond_1
aget-object v1, p1, v2
invoke-virtual {v3, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_2
aget-object p1, p1, v2
aget-object p0, p0, v2
.line 64
invoke-virtual {p1, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p0
if-nez p0, :cond_2
return v0
:cond_2
return v2
.line 53
:cond_3
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string p1, "Ill-formatted MIME type filter. Type or subtype empty."
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.line 49
:cond_4
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string p1, "Ill-formatted MIME type filter. Must be type/subtype."
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method

View File

@@ -0,0 +1,27 @@
.class public interface abstract Landroidx/core/content/OnConfigurationChangedProvider;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract addOnConfigurationChangedListener(Landroidx/core/util/Consumer;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/core/util/Consumer<",
"Landroid/content/res/Configuration;",
">;)V"
}
.end annotation
.end method
.method public abstract removeOnConfigurationChangedListener(Landroidx/core/util/Consumer;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/core/util/Consumer<",
"Landroid/content/res/Configuration;",
">;)V"
}
.end annotation
.end method

View File

@@ -0,0 +1,27 @@
.class public interface abstract Landroidx/core/content/OnTrimMemoryProvider;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract addOnTrimMemoryListener(Landroidx/core/util/Consumer;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/core/util/Consumer<",
"Ljava/lang/Integer;",
">;)V"
}
.end annotation
.end method
.method public abstract removeOnTrimMemoryListener(Landroidx/core/util/Consumer;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/core/util/Consumer<",
"Ljava/lang/Integer;",
">;)V"
}
.end annotation
.end method

View File

@@ -0,0 +1,36 @@
.class public final synthetic Landroidx/core/content/PackageManagerCompat$$ExternalSyntheticLambda0;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field public final synthetic f$0:Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;
# direct methods
.method public synthetic constructor <init>(Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;)V
.locals 0
.line 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/core/content/PackageManagerCompat$$ExternalSyntheticLambda0;->f$0:Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;
return-void
.end method
# virtual methods
.method public final run()V
.locals 1
.line 0
iget-object v0, p0, Landroidx/core/content/PackageManagerCompat$$ExternalSyntheticLambda0;->f$0:Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;
invoke-virtual {v0}, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->disconnectFromService()V
return-void
.end method

View File

@@ -0,0 +1,50 @@
.class Landroidx/core/content/PackageManagerCompat$Api30Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1e
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/PackageManagerCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api30Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 257
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static areUnusedAppRestrictionsEnabled(Landroid/content/Context;)Z
.locals 0
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 261
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object p0
invoke-virtual {p0}, Landroid/content/pm/PackageManager;->isAutoRevokeWhitelisted()Z
move-result p0
xor-int/lit8 p0, p0, 0x1
return p0
.end method

View File

@@ -0,0 +1,27 @@
.class public interface abstract annotation Landroidx/core/content/PackageManagerCompat$UnusedAppRestrictionsStatus;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/PackageManagerCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "UnusedAppRestrictionsStatus"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,384 @@
.class public final Landroidx/core/content/PackageManagerCompat;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/core/content/PackageManagerCompat$Api30Impl;,
Landroidx/core/content/PackageManagerCompat$UnusedAppRestrictionsStatus;
}
.end annotation
# static fields
.field public static final ACTION_PERMISSION_REVOCATION_SETTINGS:Ljava/lang/String; = "android.intent.action.AUTO_REVOKE_PERMISSIONS"
.annotation build Landroid/annotation/SuppressLint;
value = {
"ActionValue"
}
.end annotation
.end field
.field public static final LOG_TAG:Ljava/lang/String; = "PackageManagerCompat"
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.end field
# direct methods
.method private constructor <init>()V
.locals 0
.line 56
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static areUnusedAppRestrictionsAvailable(Landroid/content/pm/PackageManager;)Z
.locals 5
.param p0 # Landroid/content/pm/PackageManager;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/4 v1, 0x0
const/4 v2, 0x1
const/16 v3, 0x1e
if-lt v0, v3, :cond_0
move v4, v2
goto :goto_0
:cond_0
move v4, v1
:goto_0
if-ge v0, v3, :cond_1
move v0, v2
goto :goto_1
:cond_1
move v0, v1
.line 203
:goto_1
invoke-static {p0}, Landroidx/core/content/PackageManagerCompat;->getPermissionRevocationVerifierApp(Landroid/content/pm/PackageManager;)Ljava/lang/String;
move-result-object p0
if-eqz p0, :cond_2
move p0, v2
goto :goto_2
:cond_2
move p0, v1
:goto_2
if-nez v4, :cond_3
if-eqz v0, :cond_4
if-eqz p0, :cond_4
:cond_3
move v1, v2
:cond_4
return v1
.end method
.method public static getPermissionRevocationVerifierApp(Landroid/content/pm/PackageManager;)Ljava/lang/String;
.locals 4
.param p0 # Landroid/content/pm/PackageManager;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.line 219
new-instance v0, Landroid/content/Intent;
const-string v1, "android.intent.action.AUTO_REVOKE_PERMISSIONS"
invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
const-string v1, "package"
const-string v2, "com.example"
const/4 v3, 0x0
.line 221
invoke-static {v1, v2, v3}, Landroid/net/Uri;->fromParts(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;
move-result-object v1
invoke-virtual {v0, v1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;
move-result-object v0
const/4 v1, 0x0
.line 224
invoke-virtual {p0, v0, v1}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;
move-result-object v0
.line 229
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_2
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Landroid/content/pm/ResolveInfo;
.line 230
iget-object v1, v1, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
iget-object v1, v1, Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String;
const-string v2, "android.permission.PACKAGE_VERIFICATION_AGENT"
.line 231
invoke-virtual {p0, v2, v1}, Landroid/content/pm/PackageManager;->checkPermission(Ljava/lang/String;Ljava/lang/String;)I
move-result v2
if-eqz v2, :cond_0
goto :goto_0
:cond_0
if-eqz v3, :cond_1
return-object v3
:cond_1
move-object v3, v1
goto :goto_0
:cond_2
return-object v3
.end method
.method public static getUnusedAppRestrictionsStatus(Landroid/content/Context;)Lcom/google/common/util/concurrent/ListenableFuture;
.locals 7
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
")",
"Lcom/google/common/util/concurrent/ListenableFuture;"
}
.end annotation
.line 135
invoke-static {}, Landroidx/concurrent/futures/ResolvableFuture;->create()Landroidx/concurrent/futures/ResolvableFuture;
move-result-object v0
.line 138
invoke-static {p0}, Landroidx/core/os/UserManagerCompat;->isUserUnlocked(Landroid/content/Context;)Z
move-result v1
const-string v2, "PackageManagerCompat"
const/4 v3, 0x0
.line 139
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
if-nez v1, :cond_0
invoke-virtual {v0, v3}, Landroidx/concurrent/futures/ResolvableFuture;->set(Ljava/lang/Object;)Z
const-string p0, "User is in locked direct boot mode"
.line 140
invoke-static {v2, p0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
return-object v0
.line 144
:cond_0
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v1
invoke-static {v1}, Landroidx/core/content/PackageManagerCompat;->areUnusedAppRestrictionsAvailable(Landroid/content/pm/PackageManager;)Z
move-result v1
if-nez v1, :cond_1
const/4 p0, 0x1
.line 145
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p0
invoke-virtual {v0, p0}, Landroidx/concurrent/futures/ResolvableFuture;->set(Ljava/lang/Object;)Z
return-object v0
.line 149
:cond_1
invoke-virtual {p0}, Landroid/content/Context;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;
move-result-object v1
iget v1, v1, Landroid/content/pm/ApplicationInfo;->targetSdkVersion:I
const/16 v4, 0x1e
if-ge v1, v4, :cond_2
.line 152
invoke-virtual {v0, v3}, Landroidx/concurrent/futures/ResolvableFuture;->set(Ljava/lang/Object;)Z
const-string p0, "Target SDK version below API 30"
.line 153
invoke-static {v2, p0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
return-object v0
:cond_2
sget v2, Landroid/os/Build$VERSION;->SDK_INT:I
const/4 v3, 0x2
const/4 v5, 0x4
const/16 v6, 0x1f
if-lt v2, v6, :cond_5
.line 159
invoke-static {p0}, Landroidx/core/content/PackageManagerCompat$Api30Impl;->areUnusedAppRestrictionsEnabled(Landroid/content/Context;)Z
move-result p0
if-eqz p0, :cond_4
if-lt v1, v6, :cond_3
const/4 v5, 0x5
.line 162
:cond_3
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p0
invoke-virtual {v0, p0}, Landroidx/concurrent/futures/ResolvableFuture;->set(Ljava/lang/Object;)Z
goto :goto_0
.line 164
:cond_4
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p0
invoke-virtual {v0, p0}, Landroidx/concurrent/futures/ResolvableFuture;->set(Ljava/lang/Object;)Z
:goto_0
return-object v0
:cond_5
if-ne v2, v4, :cond_7
.line 171
invoke-static {p0}, Landroidx/core/content/PackageManagerCompat$Api30Impl;->areUnusedAppRestrictionsEnabled(Landroid/content/Context;)Z
move-result p0
if-eqz p0, :cond_6
move v3, v5
:cond_6
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p0
.line 170
invoke-virtual {v0, p0}, Landroidx/concurrent/futures/ResolvableFuture;->set(Ljava/lang/Object;)Z
return-object v0
.line 177
:cond_7
new-instance v1, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;
invoke-direct {v1, p0}, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;-><init>(Landroid/content/Context;)V
.line 183
new-instance p0, Landroidx/core/content/PackageManagerCompat$$ExternalSyntheticLambda0;
invoke-direct {p0, v1}, Landroidx/core/content/PackageManagerCompat$$ExternalSyntheticLambda0;-><init>(Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;)V
.line 184
invoke-static {}, Ljava/util/concurrent/Executors;->newSingleThreadExecutor()Ljava/util/concurrent/ExecutorService;
move-result-object v2
.line 182
invoke-virtual {v0, p0, v2}, Landroidx/concurrent/futures/AbstractResolvableFuture;->addListener(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V
.line 187
invoke-virtual {v1, v0}, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->connectAndFetchResult(Landroidx/concurrent/futures/ResolvableFuture;)V
return-object v0
.end method

View File

@@ -0,0 +1,27 @@
.class public interface abstract annotation Landroidx/core/content/PermissionChecker$PermissionResult;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/PermissionChecker;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "PermissionResult"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,278 @@
.class public final Landroidx/core/content/PermissionChecker;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/core/content/PermissionChecker$PermissionResult;
}
.end annotation
# static fields
.field public static final PERMISSION_DENIED:I = -0x1
.field public static final PERMISSION_DENIED_APP_OP:I = -0x2
.field public static final PERMISSION_GRANTED:I
# direct methods
.method private constructor <init>()V
.locals 0
.line 77
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static checkCallingOrSelfPermission(Landroid/content/Context;Ljava/lang/String;)I
.locals 3
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 179
invoke-static {}, Landroid/os/Binder;->getCallingPid()I
move-result v0
invoke-static {}, Landroid/os/Process;->myPid()I
move-result v1
if-ne v0, v1, :cond_0
.line 180
invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v0
goto :goto_0
:cond_0
const/4 v0, 0x0
.line 181
:goto_0
invoke-static {}, Landroid/os/Binder;->getCallingPid()I
move-result v1
.line 182
invoke-static {}, Landroid/os/Binder;->getCallingUid()I
move-result v2
.line 181
invoke-static {p0, p1, v1, v2, v0}, Landroidx/core/content/PermissionChecker;->checkPermission(Landroid/content/Context;Ljava/lang/String;IILjava/lang/String;)I
move-result p0
return p0
.end method
.method public static checkCallingPermission(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)I
.locals 2
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.line 160
invoke-static {}, Landroid/os/Binder;->getCallingPid()I
move-result v0
invoke-static {}, Landroid/os/Process;->myPid()I
move-result v1
if-ne v0, v1, :cond_0
const/4 p0, -0x1
return p0
.line 163
:cond_0
invoke-static {}, Landroid/os/Binder;->getCallingPid()I
move-result v0
.line 164
invoke-static {}, Landroid/os/Binder;->getCallingUid()I
move-result v1
.line 163
invoke-static {p0, p1, v0, v1, p2}, Landroidx/core/content/PermissionChecker;->checkPermission(Landroid/content/Context;Ljava/lang/String;IILjava/lang/String;)I
move-result p0
return p0
.end method
.method public static checkPermission(Landroid/content/Context;Ljava/lang/String;IILjava/lang/String;)I
.locals 2
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p4 # Ljava/lang/String;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.line 97
invoke-virtual {p0, p1, p2, p3}, Landroid/content/Context;->checkPermission(Ljava/lang/String;II)I
move-result p2
const/4 v0, -0x1
if-ne p2, v0, :cond_0
return v0
.line 101
:cond_0
invoke-static {p1}, Landroidx/core/app/AppOpsManagerCompat;->permissionToOp(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
const/4 p2, 0x0
if-nez p1, :cond_1
return p2
:cond_1
if-nez p4, :cond_4
.line 107
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object p4
invoke-virtual {p4, p3}, Landroid/content/pm/PackageManager;->getPackagesForUid(I)[Ljava/lang/String;
move-result-object p4
if-eqz p4, :cond_3
.line 108
array-length v1, p4
if-gtz v1, :cond_2
goto :goto_0
.line 111
:cond_2
aget-object p4, p4, p2
goto :goto_1
:cond_3
:goto_0
return v0
.line 114
:cond_4
:goto_1
invoke-static {}, Landroid/os/Process;->myUid()I
move-result v0
.line 115
invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v1
if-ne v0, p3, :cond_5
.line 117
invoke-static {v1, p4}, Landroidx/core/util/ObjectsCompat;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_5
.line 121
invoke-static {p0, p3, p1, p4}, Landroidx/core/app/AppOpsManagerCompat;->checkOrNoteProxyOp(Landroid/content/Context;ILjava/lang/String;Ljava/lang/String;)I
move-result p0
goto :goto_2
.line 123
:cond_5
invoke-static {p0, p1, p4}, Landroidx/core/app/AppOpsManagerCompat;->noteProxyOpNoThrow(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)I
move-result p0
:goto_2
if-nez p0, :cond_6
goto :goto_3
:cond_6
const/4 p2, -0x2
:goto_3
return p2
.end method
.method public static checkSelfPermission(Landroid/content/Context;Ljava/lang/String;)I
.locals 3
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 142
invoke-static {}, Landroid/os/Process;->myPid()I
move-result v0
.line 143
invoke-static {}, Landroid/os/Process;->myUid()I
move-result v1
invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v2
.line 142
invoke-static {p0, p1, v0, v1, v2}, Landroidx/core/content/PermissionChecker;->checkPermission(Landroid/content/Context;Ljava/lang/String;IILjava/lang/String;)I
move-result p0
return p0
.end method

View File

@@ -0,0 +1,50 @@
.class Landroidx/core/content/SharedPreferencesCompat$EditorCompat$Helper;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/SharedPreferencesCompat$EditorCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Helper"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 40
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public apply(Landroid/content/SharedPreferences$Editor;)V
.locals 0
.param p1 # Landroid/content/SharedPreferences$Editor;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 45
:try_start_0
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
:try_end_0
.catch Ljava/lang/AbstractMethodError; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
.line 50
:catch_0
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->commit()Z
:goto_0
return-void
.end method

View File

@@ -0,0 +1,90 @@
.class public final Landroidx/core/content/SharedPreferencesCompat$EditorCompat;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/SharedPreferencesCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "EditorCompat"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/core/content/SharedPreferencesCompat$EditorCompat$Helper;
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# static fields
.field private static sInstance:Landroidx/core/content/SharedPreferencesCompat$EditorCompat;
# instance fields
.field private final mHelper:Landroidx/core/content/SharedPreferencesCompat$EditorCompat$Helper;
# direct methods
.method private constructor <init>()V
.locals 1
.line 57
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 58
new-instance v0, Landroidx/core/content/SharedPreferencesCompat$EditorCompat$Helper;
invoke-direct {v0}, Landroidx/core/content/SharedPreferencesCompat$EditorCompat$Helper;-><init>()V
iput-object v0, p0, Landroidx/core/content/SharedPreferencesCompat$EditorCompat;->mHelper:Landroidx/core/content/SharedPreferencesCompat$EditorCompat$Helper;
return-void
.end method
.method public static getInstance()Landroidx/core/content/SharedPreferencesCompat$EditorCompat;
.locals 1
.annotation runtime Ljava/lang/Deprecated;
.end annotation
sget-object v0, Landroidx/core/content/SharedPreferencesCompat$EditorCompat;->sInstance:Landroidx/core/content/SharedPreferencesCompat$EditorCompat;
if-nez v0, :cond_0
.line 67
new-instance v0, Landroidx/core/content/SharedPreferencesCompat$EditorCompat;
invoke-direct {v0}, Landroidx/core/content/SharedPreferencesCompat$EditorCompat;-><init>()V
sput-object v0, Landroidx/core/content/SharedPreferencesCompat$EditorCompat;->sInstance:Landroidx/core/content/SharedPreferencesCompat$EditorCompat;
:cond_0
sget-object v0, Landroidx/core/content/SharedPreferencesCompat$EditorCompat;->sInstance:Landroidx/core/content/SharedPreferencesCompat$EditorCompat;
return-object v0
.end method
# virtual methods
.method public apply(Landroid/content/SharedPreferences$Editor;)V
.locals 1
.param p1 # Landroid/content/SharedPreferences$Editor;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation runtime Ljava/lang/Deprecated;
.end annotation
iget-object v0, p0, Landroidx/core/content/SharedPreferencesCompat$EditorCompat;->mHelper:Landroidx/core/content/SharedPreferencesCompat$EditorCompat$Helper;
.line 80
invoke-virtual {v0, p1}, Landroidx/core/content/SharedPreferencesCompat$EditorCompat$Helper;->apply(Landroid/content/SharedPreferences$Editor;)V
return-void
.end method

View File

@@ -0,0 +1,25 @@
.class public final Landroidx/core/content/SharedPreferencesCompat;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/core/content/SharedPreferencesCompat$EditorCompat;
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 84
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,79 @@
.class public final Landroidx/core/content/SharedPreferencesKt;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static final edit(Landroid/content/SharedPreferences;ZLkotlin/jvm/functions/Function1;)V
.locals 0
.annotation build Landroid/annotation/SuppressLint;
value = {
"ApplySharedPref"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/SharedPreferences;",
"Z",
"Lkotlin/jvm/functions/Function1;",
")V"
}
.end annotation
.line 45
invoke-interface {p0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object p0
.line 46
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
if-eqz p1, :cond_0
.line 48
invoke-interface {p0}, Landroid/content/SharedPreferences$Editor;->commit()Z
goto :goto_0
.line 50
:cond_0
invoke-interface {p0}, Landroid/content/SharedPreferences$Editor;->apply()V
:goto_0
return-void
.end method
.method public static synthetic edit$default(Landroid/content/SharedPreferences;ZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
.locals 0
and-int/lit8 p3, p3, 0x1
if-eqz p3, :cond_0
const/4 p1, 0x0
.line 45
:cond_0
invoke-interface {p0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object p0
.line 46
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
if-eqz p1, :cond_1
.line 48
invoke-interface {p0}, Landroid/content/SharedPreferences$Editor;->commit()Z
goto :goto_0
.line 50
:cond_1
invoke-interface {p0}, Landroid/content/SharedPreferences$Editor;->apply()V
:goto_0
return-void
.end method

View File

@@ -0,0 +1,47 @@
.class public Landroidx/core/content/UnusedAppRestrictionsBackportCallback;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field private mCallback:Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportCallback;
# direct methods
.method public constructor <init>(Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportCallback;)V
.locals 0
.param p1 # Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportCallback;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.line 39
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/core/content/UnusedAppRestrictionsBackportCallback;->mCallback:Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportCallback;
return-void
.end method
# virtual methods
.method public onResult(ZZ)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
iget-object v0, p0, Landroidx/core/content/UnusedAppRestrictionsBackportCallback;->mCallback:Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportCallback;
.line 53
invoke-interface {v0, p1, p2}, Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportCallback;->onIsPermissionRevocationEnabledForAppResult(ZZ)V
return-void
.end method

View File

@@ -0,0 +1,63 @@
.class Landroidx/core/content/UnusedAppRestrictionsBackportService$1;
.super Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportService$Stub;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/UnusedAppRestrictionsBackportService;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Landroidx/core/content/UnusedAppRestrictionsBackportService;
# direct methods
.method public constructor <init>(Landroidx/core/content/UnusedAppRestrictionsBackportService;)V
.locals 0
iput-object p1, p0, Landroidx/core/content/UnusedAppRestrictionsBackportService$1;->this$0:Landroidx/core/content/UnusedAppRestrictionsBackportService;
.line 51
invoke-direct {p0}, Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportService$Stub;-><init>()V
return-void
.end method
# virtual methods
.method public isPermissionRevocationEnabledForApp(Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportCallback;)V
.locals 1
.param p1 # Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportCallback;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
if-nez p1, :cond_0
return-void
.line 59
:cond_0
new-instance v0, Landroidx/core/content/UnusedAppRestrictionsBackportCallback;
invoke-direct {v0, p1}, Landroidx/core/content/UnusedAppRestrictionsBackportCallback;-><init>(Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportCallback;)V
iget-object p1, p0, Landroidx/core/content/UnusedAppRestrictionsBackportService$1;->this$0:Landroidx/core/content/UnusedAppRestrictionsBackportService;
.line 62
invoke-virtual {p1, v0}, Landroidx/core/content/UnusedAppRestrictionsBackportService;->isPermissionRevocationEnabled(Landroidx/core/content/UnusedAppRestrictionsBackportCallback;)V
return-void
.end method

View File

@@ -0,0 +1,58 @@
.class public abstract Landroidx/core/content/UnusedAppRestrictionsBackportService;
.super Landroid/app/Service;
.source "SourceFile"
# static fields
.field public static final ACTION_UNUSED_APP_RESTRICTIONS_BACKPORT_CONNECTION:Ljava/lang/String; = "android.support.unusedapprestrictions.action.CustomUnusedAppRestrictionsBackportService"
.annotation build Landroid/annotation/SuppressLint;
value = {
"ActionValue"
}
.end annotation
.end field
# instance fields
.field private mBinder:Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportService$Stub;
# direct methods
.method public constructor <init>()V
.locals 1
.line 40
invoke-direct {p0}, Landroid/app/Service;-><init>()V
.line 50
new-instance v0, Landroidx/core/content/UnusedAppRestrictionsBackportService$1;
invoke-direct {v0, p0}, Landroidx/core/content/UnusedAppRestrictionsBackportService$1;-><init>(Landroidx/core/content/UnusedAppRestrictionsBackportService;)V
iput-object v0, p0, Landroidx/core/content/UnusedAppRestrictionsBackportService;->mBinder:Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportService$Stub;
return-void
.end method
# virtual methods
.method public abstract isPermissionRevocationEnabled(Landroidx/core/content/UnusedAppRestrictionsBackportCallback;)V
.param p1 # Landroidx/core/content/UnusedAppRestrictionsBackportCallback;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.end method
.method public onBind(Landroid/content/Intent;)Landroid/os/IBinder;
.locals 0
.param p1 # Landroid/content/Intent;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
iget-object p1, p0, Landroidx/core/content/UnusedAppRestrictionsBackportService;->mBinder:Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportService$Stub;
return-object p1
.end method

View File

@@ -0,0 +1,101 @@
.class Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection$1;
.super Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportCallback$Stub;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->getBackportCallback()Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportCallback;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;
# direct methods
.method public constructor <init>(Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;)V
.locals 0
iput-object p1, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection$1;->this$0:Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;
.line 122
invoke-direct {p0}, Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportCallback$Stub;-><init>()V
return-void
.end method
# virtual methods
.method public onIsPermissionRevocationEnabledForAppResult(ZZ)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
if-eqz p1, :cond_1
if-eqz p2, :cond_0
iget-object p1, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection$1;->this$0:Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;
.line 128
iget-object p1, p1, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mResultFuture:Landroidx/concurrent/futures/ResolvableFuture;
const/4 p2, 0x3
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
invoke-virtual {p1, p2}, Landroidx/concurrent/futures/ResolvableFuture;->set(Ljava/lang/Object;)Z
goto :goto_0
:cond_0
iget-object p1, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection$1;->this$0:Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;
.line 130
iget-object p1, p1, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mResultFuture:Landroidx/concurrent/futures/ResolvableFuture;
const/4 p2, 0x2
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
invoke-virtual {p1, p2}, Landroidx/concurrent/futures/ResolvableFuture;->set(Ljava/lang/Object;)Z
goto :goto_0
:cond_1
iget-object p1, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection$1;->this$0:Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;
.line 134
iget-object p1, p1, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mResultFuture:Landroidx/concurrent/futures/ResolvableFuture;
const/4 p2, 0x0
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
invoke-virtual {p1, p2}, Landroidx/concurrent/futures/ResolvableFuture;->set(Ljava/lang/Object;)Z
const-string p1, "PackageManagerCompat"
const-string p2, "Unable to retrieve the permission revocation setting from the backport"
.line 135
invoke-static {p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
:goto_0
return-void
.end method

View File

@@ -0,0 +1,215 @@
.class Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/content/ServiceConnection;
# instance fields
.field private final mContext:Landroid/content/Context;
.field private mHasBoundService:Z
.field mResultFuture:Landroidx/concurrent/futures/ResolvableFuture;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/concurrent/futures/ResolvableFuture<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.end field
.field mUnusedAppRestrictionsService:Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportService;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation build Landroidx/annotation/VisibleForTesting;
.end annotation
.end field
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
.param p1 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 76
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-object v0, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mUnusedAppRestrictionsService:Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportService;
const/4 v0, 0x0
iput-boolean v0, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mHasBoundService:Z
iput-object p1, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mContext:Landroid/content/Context;
return-void
.end method
.method private getBackportCallback()Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportCallback;
.locals 1
.line 122
new-instance v0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection$1;
invoke-direct {v0, p0}, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection$1;-><init>(Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;)V
return-object v0
.end method
# virtual methods
.method public connectAndFetchResult(Landroidx/concurrent/futures/ResolvableFuture;)V
.locals 2
.param p1 # Landroidx/concurrent/futures/ResolvableFuture;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/concurrent/futures/ResolvableFuture<",
"Ljava/lang/Integer;",
">;)V"
}
.end annotation
iget-boolean v0, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mHasBoundService:Z
if-nez v0, :cond_0
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mHasBoundService:Z
iput-object p1, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mResultFuture:Landroidx/concurrent/futures/ResolvableFuture;
.line 107
new-instance p1, Landroid/content/Intent;
const-string v1, "android.support.unusedapprestrictions.action.CustomUnusedAppRestrictionsBackportService"
invoke-direct {p1, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
iget-object v1, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mContext:Landroid/content/Context;
.line 109
invoke-virtual {v1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v1
.line 108
invoke-static {v1}, Landroidx/core/content/PackageManagerCompat;->getPermissionRevocationVerifierApp(Landroid/content/pm/PackageManager;)Ljava/lang/String;
move-result-object v1
invoke-virtual {p1, v1}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;
move-result-object p1
iget-object v1, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mContext:Landroid/content/Context;
.line 110
invoke-virtual {v1, p1, p0, v0}, Landroid/content/Context;->bindService(Landroid/content/Intent;Landroid/content/ServiceConnection;I)Z
return-void
.line 101
:cond_0
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "Each UnusedAppRestrictionsBackportServiceConnection can only be bound once."
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public disconnectFromService()V
.locals 2
iget-boolean v0, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mHasBoundService:Z
if-eqz v0, :cond_0
const/4 v0, 0x0
iput-boolean v0, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mHasBoundService:Z
iget-object v0, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mContext:Landroid/content/Context;
.line 118
invoke-virtual {v0, p0}, Landroid/content/Context;->unbindService(Landroid/content/ServiceConnection;)V
return-void
.line 115
:cond_0
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "bindService must be called before unbind"
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V
.locals 0
.line 83
invoke-static {p2}, Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportService$Stub;->asInterface(Landroid/os/IBinder;)Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportService;
move-result-object p1
iput-object p1, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mUnusedAppRestrictionsService:Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportService;
.line 87
:try_start_0
invoke-direct {p0}, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->getBackportCallback()Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportCallback;
move-result-object p2
.line 86
invoke-interface {p1, p2}, Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportService;->isPermissionRevocationEnabledForApp(Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportCallback;)V
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
iget-object p1, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mResultFuture:Landroidx/concurrent/futures/ResolvableFuture;
const/4 p2, 0x0
.line 90
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
invoke-virtual {p1, p2}, Landroidx/concurrent/futures/ResolvableFuture;->set(Ljava/lang/Object;)Z
:goto_0
return-void
.end method
.method public onServiceDisconnected(Landroid/content/ComponentName;)V
.locals 0
const/4 p1, 0x0
iput-object p1, p0, Landroidx/core/content/UnusedAppRestrictionsBackportServiceConnection;->mUnusedAppRestrictionsService:Landroidx/core/app/unusedapprestrictions/IUnusedAppRestrictionsBackportService;
return-void
.end method

View File

@@ -0,0 +1,28 @@
.class public final Landroidx/core/content/UnusedAppRestrictionsConstants;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static final API_30:I = 0x4
.field public static final API_30_BACKPORT:I = 0x3
.field public static final API_31:I = 0x5
.field public static final DISABLED:I = 0x2
.field public static final ERROR:I = 0x0
.field public static final FEATURE_NOT_AVAILABLE:I = 0x1
# direct methods
.method private constructor <init>()V
.locals 0
.line 24
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,40 @@
.class public final synthetic Landroidx/core/content/UriMatcherCompat$$ExternalSyntheticLambda0;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/core/util/Predicate;
# instance fields
.field public final synthetic f$0:Landroid/content/UriMatcher;
# direct methods
.method public synthetic constructor <init>(Landroid/content/UriMatcher;)V
.locals 0
.line 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/core/content/UriMatcherCompat$$ExternalSyntheticLambda0;->f$0:Landroid/content/UriMatcher;
return-void
.end method
# virtual methods
.method public final test(Ljava/lang/Object;)Z
.locals 1
.line 0
iget-object v0, p0, Landroidx/core/content/UriMatcherCompat$$ExternalSyntheticLambda0;->f$0:Landroid/content/UriMatcher;
check-cast p1, Landroid/net/Uri;
invoke-static {v0, p1}, Landroidx/core/content/UriMatcherCompat;->$r8$lambda$ak8EzdVzS74T_K7b7pKPTuokBDk(Landroid/content/UriMatcher;Landroid/net/Uri;)Z
move-result p1
return p1
.end method

View File

@@ -0,0 +1,76 @@
.class public Landroidx/core/content/UriMatcherCompat;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static synthetic $r8$lambda$ak8EzdVzS74T_K7b7pKPTuokBDk(Landroid/content/UriMatcher;Landroid/net/Uri;)Z
.locals 0
.line 0
invoke-static {p0, p1}, Landroidx/core/content/UriMatcherCompat;->lambda$asPredicate$0(Landroid/content/UriMatcher;Landroid/net/Uri;)Z
move-result p0
return p0
.end method
.method private constructor <init>()V
.locals 0
.line 29
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static asPredicate(Landroid/content/UriMatcher;)Landroidx/core/util/Predicate;
.locals 1
.param p0 # Landroid/content/UriMatcher;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/UriMatcher;",
")",
"Landroidx/core/util/Predicate<",
"Landroid/net/Uri;",
">;"
}
.end annotation
.line 40
new-instance v0, Landroidx/core/content/UriMatcherCompat$$ExternalSyntheticLambda0;
invoke-direct {v0, p0}, Landroidx/core/content/UriMatcherCompat$$ExternalSyntheticLambda0;-><init>(Landroid/content/UriMatcher;)V
return-object v0
.end method
.method private static synthetic lambda$asPredicate$0(Landroid/content/UriMatcher;Landroid/net/Uri;)Z
.locals 0
.line 40
invoke-virtual {p0, p1}, Landroid/content/UriMatcher;->match(Landroid/net/Uri;)I
move-result p0
const/4 p1, -0x1
if-eq p0, p1, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method

View File

@@ -0,0 +1,26 @@
.class public final Landroidx/core/content/pm/ActivityInfoCompat;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# static fields
.field public static final CONFIG_UI_MODE:I = 0x200
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
# direct methods
.method private constructor <init>()V
.locals 0
.line 27
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,14 @@
.class public abstract synthetic Landroidx/core/content/pm/PackageInfoCompat$$ExternalSyntheticApiModelOutline0;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static bridge synthetic m(Landroid/content/pm/PackageInfo;)Landroid/content/pm/SigningInfo;
.locals 0
.line 0
iget-object p0, p0, Landroid/content/pm/PackageInfo;->signingInfo:Landroid/content/pm/SigningInfo;
return-object p0
.end method

View File

@@ -0,0 +1,112 @@
.class Landroidx/core/content/pm/PackageInfoCompat$Api28Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1c
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/pm/PackageInfoCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api28Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 267
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getApkContentsSigners(Landroid/content/pm/SigningInfo;)[Landroid/content/pm/Signature;
.locals 0
.param p0 # Landroid/content/pm/SigningInfo;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.line 282
invoke-virtual {p0}, Landroid/content/pm/SigningInfo;->getApkContentsSigners()[Landroid/content/pm/Signature;
move-result-object p0
return-object p0
.end method
.method public static getLongVersionCode(Landroid/content/pm/PackageInfo;)J
.locals 2
.line 291
invoke-virtual {p0}, Landroid/content/pm/PackageInfo;->getLongVersionCode()J
move-result-wide v0
return-wide v0
.end method
.method public static getSigningCertificateHistory(Landroid/content/pm/SigningInfo;)[Landroid/content/pm/Signature;
.locals 0
.param p0 # Landroid/content/pm/SigningInfo;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.line 287
invoke-virtual {p0}, Landroid/content/pm/SigningInfo;->getSigningCertificateHistory()[Landroid/content/pm/Signature;
move-result-object p0
return-object p0
.end method
.method public static hasMultipleSigners(Landroid/content/pm/SigningInfo;)Z
.locals 0
.param p0 # Landroid/content/pm/SigningInfo;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 277
invoke-virtual {p0}, Landroid/content/pm/SigningInfo;->hasMultipleSigners()Z
move-result p0
return p0
.end method
.method public static hasSigningCertificate(Landroid/content/pm/PackageManager;Ljava/lang/String;[BI)Z
.locals 0
.param p0 # Landroid/content/pm/PackageManager;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # [B
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 273
invoke-virtual {p0, p1, p2, p3}, Landroid/content/pm/PackageManager;->hasSigningCertificate(Ljava/lang/String;[BI)Z
move-result p0
return p0
.end method

View File

@@ -0,0 +1,623 @@
.class public final Landroidx/core/content/pm/PackageInfoCompat;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/core/content/pm/PackageInfoCompat$Api28Impl;
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 262
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method private static byteArrayContains([[B[B)Z
.locals 4
.param p0 # [[B
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # [B
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 245
array-length v0, p0
const/4 v1, 0x0
move v2, v1
:goto_0
if-ge v2, v0, :cond_1
aget-object v3, p0, v2
.line 246
invoke-static {p1, v3}, Ljava/util/Arrays;->equals([B[B)Z
move-result v3
if-eqz v3, :cond_0
const/4 p0, 0x1
return p0
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
return v1
.end method
.method private static computeSHA256Digest([B)[B
.locals 2
:try_start_0
const-string v0, "SHA256"
.line 255
invoke-static {v0}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest;
move-result-object v0
invoke-virtual {v0, p0}, Ljava/security/MessageDigest;->digest([B)[B
move-result-object p0
:try_end_0
.catch Ljava/security/NoSuchAlgorithmException; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
:catch_0
move-exception p0
.line 258
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "Device doesn\'t support SHA256 cert checking"
invoke-direct {v0, v1, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v0
.end method
.method public static getLongVersionCode(Landroid/content/pm/PackageInfo;)J
.locals 2
.param p0 # Landroid/content/pm/PackageInfo;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_0
.line 51
invoke-static {p0}, Landroidx/core/content/pm/PackageInfoCompat$Api28Impl;->getLongVersionCode(Landroid/content/pm/PackageInfo;)J
move-result-wide v0
return-wide v0
.line 53
:cond_0
iget p0, p0, Landroid/content/pm/PackageInfo;->versionCode:I
int-to-long v0, p0
return-wide v0
.end method
.method public static getSignatures(Landroid/content/pm/PackageManager;Ljava/lang/String;)Ljava/util/List;
.locals 2
.param p0 # Landroid/content/pm/PackageManager;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/pm/PackageManager;",
"Ljava/lang/String;",
")",
"Ljava/util/List<",
"Landroid/content/pm/Signature;",
">;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/content/pm/PackageManager$NameNotFoundException;
}
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_1
const/high16 v0, 0x8000000
.line 88
invoke-virtual {p0, p1, v0}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;
move-result-object p0
.line 90
invoke-static {p0}, Landroidx/core/content/pm/PackageInfoCompat$$ExternalSyntheticApiModelOutline0;->m(Landroid/content/pm/PackageInfo;)Landroid/content/pm/SigningInfo;
move-result-object p0
.line 91
invoke-static {p0}, Landroidx/core/content/pm/PackageInfoCompat$Api28Impl;->hasMultipleSigners(Landroid/content/pm/SigningInfo;)Z
move-result p1
if-eqz p1, :cond_0
.line 92
invoke-static {p0}, Landroidx/core/content/pm/PackageInfoCompat$Api28Impl;->getApkContentsSigners(Landroid/content/pm/SigningInfo;)[Landroid/content/pm/Signature;
move-result-object p0
goto :goto_0
.line 94
:cond_0
invoke-static {p0}, Landroidx/core/content/pm/PackageInfoCompat$Api28Impl;->getSigningCertificateHistory(Landroid/content/pm/SigningInfo;)[Landroid/content/pm/Signature;
move-result-object p0
goto :goto_0
:cond_1
const/16 v0, 0x40
.line 99
invoke-virtual {p0, p1, v0}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;
move-result-object p0
.line 101
iget-object p0, p0, Landroid/content/pm/PackageInfo;->signatures:[Landroid/content/pm/Signature;
:goto_0
if-nez p0, :cond_2
.line 106
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
move-result-object p0
return-object p0
.line 108
:cond_2
invoke-static {p0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
move-result-object p0
return-object p0
.end method
.method public static hasSignatures(Landroid/content/pm/PackageManager;Ljava/lang/String;Ljava/util/Map;Z)Z
.locals 7
.param p0 # Landroid/content/pm/PackageManager;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/util/Map;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Landroidx/annotation/Size;
min = 0x1L
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/pm/PackageManager;",
"Ljava/lang/String;",
"Ljava/util/Map<",
"[B",
"Ljava/lang/Integer;",
">;Z)Z"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/content/pm/PackageManager$NameNotFoundException;
}
.end annotation
.line 141
invoke-interface {p2}, Ljava/util/Map;->isEmpty()Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_0
return v1
.line 145
:cond_0
invoke-interface {p2}, Ljava/util/Map;->keySet()Ljava/util/Set;
move-result-object v0
.line 152
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v2
:cond_1
:goto_0
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v3
const-string v4, "Unsupported certificate type "
const/4 v5, 0x1
if-eqz v3, :cond_5
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, [B
if-eqz v3, :cond_4
.line 157
invoke-interface {p2, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/Integer;
if-eqz v3, :cond_3
.line 163
invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I
move-result v6
if-eqz v6, :cond_1
if-ne v6, v5, :cond_2
goto :goto_0
.line 168
:cond_2
new-instance p0, Ljava/lang/IllegalArgumentException;
new-instance p2, Ljava/lang/StringBuilder;
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string p3, " when verifying "
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.line 159
:cond_3
new-instance p0, Ljava/lang/IllegalArgumentException;
new-instance p2, Ljava/lang/StringBuilder;
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
const-string p3, "Type must be specified for cert when verifying "
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.line 154
:cond_4
new-instance p0, Ljava/lang/IllegalArgumentException;
new-instance p2, Ljava/lang/StringBuilder;
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
const-string p3, "Cert byte array cannot be null when verifying "
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.line 174
:cond_5
invoke-static {p0, p1}, Landroidx/core/content/pm/PackageInfoCompat;->getSignatures(Landroid/content/pm/PackageManager;Ljava/lang/String;)Ljava/util/List;
move-result-object v2
if-nez p3, :cond_8
sget v3, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v6, 0x1c
if-lt v3, v6, :cond_8
.line 184
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object p3
:cond_6
invoke-interface {p3}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_7
invoke-interface {p3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, [B
.line 185
invoke-interface {p2, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/Integer;
.line 187
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
move-result v2
invoke-static {p0, p1, v0, v2}, Landroidx/core/content/pm/PackageInfoCompat$Api28Impl;->hasSigningCertificate(Landroid/content/pm/PackageManager;Ljava/lang/String;[BI)Z
move-result v0
if-nez v0, :cond_6
return v1
:cond_7
return v5
.line 196
:cond_8
invoke-interface {v2}, Ljava/util/List;->size()I
move-result p0
if-eqz p0, :cond_f
.line 197
invoke-interface {p2}, Ljava/util/Map;->size()I
move-result p0
invoke-interface {v2}, Ljava/util/List;->size()I
move-result p1
if-gt p0, p1, :cond_f
if-eqz p3, :cond_9
.line 198
invoke-interface {p2}, Ljava/util/Map;->size()I
move-result p0
invoke-interface {v2}, Ljava/util/List;->size()I
move-result p1
if-eq p0, p1, :cond_9
goto/16 :goto_2
.line 203
:cond_9
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p0
invoke-interface {p2, p0}, Ljava/util/Map;->containsValue(Ljava/lang/Object;)Z
move-result p0
if-eqz p0, :cond_a
.line 207
invoke-interface {v2}, Ljava/util/List;->size()I
move-result p0
new-array p0, p0, [[B
move p1, v1
.line 208
:goto_1
invoke-interface {v2}, Ljava/util/List;->size()I
move-result p3
if-ge p1, p3, :cond_b
.line 209
invoke-interface {v2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p3
check-cast p3, Landroid/content/pm/Signature;
invoke-virtual {p3}, Landroid/content/pm/Signature;->toByteArray()[B
move-result-object p3
invoke-static {p3}, Landroidx/core/content/pm/PackageInfoCompat;->computeSHA256Digest([B)[B
move-result-object p3
aput-object p3, p0, p1
add-int/lit8 p1, p1, 0x1
goto :goto_1
:cond_a
const/4 p0, 0x0
.line 213
:cond_b
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object p1
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result p3
if-eqz p3, :cond_f
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object p1
check-cast p1, [B
.line 214
invoke-interface {p2, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p2
check-cast p2, Ljava/lang/Integer;
.line 216
invoke-virtual {p2}, Ljava/lang/Integer;->intValue()I
move-result p3
if-eqz p3, :cond_d
if-ne p3, v5, :cond_c
.line 228
invoke-static {p0, p1}, Landroidx/core/content/pm/PackageInfoCompat;->byteArrayContains([[B[B)Z
move-result p0
if-nez p0, :cond_e
return v1
.line 234
:cond_c
new-instance p0, Ljava/lang/IllegalArgumentException;
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.line 220
:cond_d
new-instance p0, Landroid/content/pm/Signature;
invoke-direct {p0, p1}, Landroid/content/pm/Signature;-><init>([B)V
.line 221
invoke-interface {v2, p0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result p0
if-nez p0, :cond_e
return v1
:cond_e
return v5
:cond_f
:goto_2
return v1
.end method

View File

@@ -0,0 +1,51 @@
.class Landroidx/core/content/pm/PermissionInfoCompat$Api28Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1c
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/pm/PermissionInfoCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api28Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 96
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getProtection(Landroid/content/pm/PermissionInfo;)I
.locals 0
.line 101
invoke-virtual {p0}, Landroid/content/pm/PermissionInfo;->getProtection()I
move-result p0
return p0
.end method
.method public static getProtectionFlags(Landroid/content/pm/PermissionInfo;)I
.locals 0
.line 105
invoke-virtual {p0}, Landroid/content/pm/PermissionInfo;->getProtectionFlags()I
move-result p0
return p0
.end method

View File

@@ -0,0 +1,27 @@
.class public interface abstract annotation Landroidx/core/content/pm/PermissionInfoCompat$Protection;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/pm/PermissionInfoCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "Protection"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,33 @@
.class public interface abstract annotation Landroidx/core/content/pm/PermissionInfoCompat$ProtectionFlags;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation build Landroid/annotation/SuppressLint;
value = {
"UniqueConstants"
}
.end annotation
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/pm/PermissionInfoCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "ProtectionFlags"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

View File

@@ -0,0 +1,92 @@
.class public final Landroidx/core/content/pm/PermissionInfoCompat;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/core/content/pm/PermissionInfoCompat$Api28Impl;,
Landroidx/core/content/pm/PermissionInfoCompat$ProtectionFlags;,
Landroidx/core/content/pm/PermissionInfoCompat$Protection;
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 35
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getProtection(Landroid/content/pm/PermissionInfo;)I
.locals 2
.param p0 # Landroid/content/pm/PermissionInfo;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroid/annotation/SuppressLint;
value = {
"WrongConstant"
}
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_0
.line 74
invoke-static {p0}, Landroidx/core/content/pm/PermissionInfoCompat$Api28Impl;->getProtection(Landroid/content/pm/PermissionInfo;)I
move-result p0
return p0
.line 76
:cond_0
iget p0, p0, Landroid/content/pm/PermissionInfo;->protectionLevel:I
and-int/lit8 p0, p0, 0xf
return p0
.end method
.method public static getProtectionFlags(Landroid/content/pm/PermissionInfo;)I
.locals 2
.param p0 # Landroid/content/pm/PermissionInfo;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroid/annotation/SuppressLint;
value = {
"WrongConstant"
}
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_0
.line 88
invoke-static {p0}, Landroidx/core/content/pm/PermissionInfoCompat$Api28Impl;->getProtectionFlags(Landroid/content/pm/PermissionInfo;)I
move-result p0
return p0
.line 90
:cond_0
iget p0, p0, Landroid/content/pm/PermissionInfo;->protectionLevel:I
and-int/lit8 p0, p0, -0x10
return p0
.end method

View File

@@ -0,0 +1,116 @@
.class public abstract Landroidx/core/content/pm/ShortcutInfoChangeListener;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 33
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onAllShortcutsRemoved()V
.locals 0
.annotation build Landroidx/annotation/AnyThread;
.end annotation
return-void
.end method
.method public onShortcutAdded(Ljava/util/List;)V
.locals 0
.param p1 # Ljava/util/List;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/AnyThread;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Landroidx/core/content/pm/ShortcutInfoCompat;",
">;)V"
}
.end annotation
return-void
.end method
.method public onShortcutRemoved(Ljava/util/List;)V
.locals 0
.param p1 # Ljava/util/List;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/AnyThread;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/lang/String;",
">;)V"
}
.end annotation
return-void
.end method
.method public onShortcutUpdated(Ljava/util/List;)V
.locals 0
.param p1 # Ljava/util/List;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/AnyThread;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Landroidx/core/content/pm/ShortcutInfoCompat;",
">;)V"
}
.end annotation
return-void
.end method
.method public onShortcutUsageReported(Ljava/util/List;)V
.locals 0
.param p1 # Ljava/util/List;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/AnyThread;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/lang/String;",
">;)V"
}
.end annotation
return-void
.end method

View File

@@ -0,0 +1,16 @@
.class public abstract synthetic Landroidx/core/content/pm/ShortcutInfoCompat$$ExternalSyntheticApiModelOutline0;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static bridge synthetic m(Landroid/content/pm/ShortcutInfo;)Landroid/content/LocusId;
.locals 0
.line 0
invoke-virtual {p0}, Landroid/content/pm/ShortcutInfo;->getLocusId()Landroid/content/LocusId;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,16 @@
.class public abstract synthetic Landroidx/core/content/pm/ShortcutInfoCompat$$ExternalSyntheticApiModelOutline1;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static bridge synthetic m(Landroid/content/pm/ShortcutInfo$Builder;[Landroid/app/Person;)Landroid/content/pm/ShortcutInfo$Builder;
.locals 0
.line 0
invoke-virtual {p0, p1}, Landroid/content/pm/ShortcutInfo$Builder;->setPersons([Landroid/app/Person;)Landroid/content/pm/ShortcutInfo$Builder;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,16 @@
.class public abstract synthetic Landroidx/core/content/pm/ShortcutInfoCompat$$ExternalSyntheticApiModelOutline2;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static bridge synthetic m(Landroid/content/pm/ShortcutInfo$Builder;Landroid/content/LocusId;)Landroid/content/pm/ShortcutInfo$Builder;
.locals 0
.line 0
invoke-virtual {p0, p1}, Landroid/content/pm/ShortcutInfo$Builder;->setLocusId(Landroid/content/LocusId;)Landroid/content/pm/ShortcutInfo$Builder;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,16 @@
.class public abstract synthetic Landroidx/core/content/pm/ShortcutInfoCompat$$ExternalSyntheticApiModelOutline3;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static bridge synthetic m(Landroid/content/pm/ShortcutInfo$Builder;Z)Landroid/content/pm/ShortcutInfo$Builder;
.locals 0
.line 0
invoke-virtual {p0, p1}, Landroid/content/pm/ShortcutInfo$Builder;->setLongLived(Z)Landroid/content/pm/ShortcutInfo$Builder;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,42 @@
.class Landroidx/core/content/pm/ShortcutInfoCompat$Api33Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x21
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/pm/ShortcutInfoCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api33Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 1009
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static setExcludedFromSurfaces(Landroid/content/pm/ShortcutInfo$Builder;I)V
.locals 0
.param p0 # Landroid/content/pm/ShortcutInfo$Builder;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 1012
invoke-virtual {p0, p1}, Landroid/content/pm/ShortcutInfo$Builder;->setExcludedFromSurfaces(I)Landroid/content/pm/ShortcutInfo$Builder;
return-void
.end method

View File

@@ -0,0 +1,16 @@
.class public abstract synthetic Landroidx/core/content/pm/ShortcutInfoCompat$Builder$$ExternalSyntheticApiModelOutline0;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static bridge synthetic m(Landroid/content/pm/ShortcutInfo;)I
.locals 0
.line 0
invoke-virtual {p0}, Landroid/content/pm/ShortcutInfo;->getDisabledReason()I
move-result p0
return p0
.end method

View File

@@ -0,0 +1,16 @@
.class public abstract synthetic Landroidx/core/content/pm/ShortcutInfoCompat$Builder$$ExternalSyntheticApiModelOutline1;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static bridge synthetic m(Landroid/content/pm/ShortcutInfo;)Z
.locals 0
.line 0
invoke-virtual {p0}, Landroid/content/pm/ShortcutInfo;->isCached()Z
move-result p0
return p0
.end method

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,27 @@
.class public interface abstract annotation Landroidx/core/content/pm/ShortcutInfoCompat$Surface;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/pm/ShortcutInfoCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "Surface"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,119 @@
.class public Landroidx/core/content/pm/ShortcutInfoCompatSaver$NoopImpl;
.super Landroidx/core/content/pm/ShortcutInfoCompatSaver;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/pm/ShortcutInfoCompatSaver;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "NoopImpl"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/core/content/pm/ShortcutInfoCompatSaver<",
"Ljava/lang/Void;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 55
invoke-direct {p0}, Landroidx/core/content/pm/ShortcutInfoCompatSaver;-><init>()V
return-void
.end method
# virtual methods
.method public bridge synthetic addShortcuts(Ljava/util/List;)Ljava/lang/Object;
.locals 0
.line 54
invoke-virtual {p0, p1}, Landroidx/core/content/pm/ShortcutInfoCompatSaver$NoopImpl;->addShortcuts(Ljava/util/List;)Ljava/lang/Void;
move-result-object p1
return-object p1
.end method
.method public addShortcuts(Ljava/util/List;)Ljava/lang/Void;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Landroidx/core/content/pm/ShortcutInfoCompat;",
">;)",
"Ljava/lang/Void;"
}
.end annotation
.line 0
const/4 p1, 0x0
return-object p1
.end method
.method public bridge synthetic removeAllShortcuts()Ljava/lang/Object;
.locals 1
.line 54
invoke-virtual {p0}, Landroidx/core/content/pm/ShortcutInfoCompatSaver$NoopImpl;->removeAllShortcuts()Ljava/lang/Void;
move-result-object v0
return-object v0
.end method
.method public removeAllShortcuts()Ljava/lang/Void;
.locals 1
.line 0
const/4 v0, 0x0
return-object v0
.end method
.method public bridge synthetic removeShortcuts(Ljava/util/List;)Ljava/lang/Object;
.locals 0
.line 54
invoke-virtual {p0, p1}, Landroidx/core/content/pm/ShortcutInfoCompatSaver$NoopImpl;->removeShortcuts(Ljava/util/List;)Ljava/lang/Void;
move-result-object p1
return-object p1
.end method
.method public removeShortcuts(Ljava/util/List;)Ljava/lang/Void;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/lang/String;",
">;)",
"Ljava/lang/Void;"
}
.end annotation
.line 0
const/4 p1, 0x0
return-object p1
.end method

View File

@@ -0,0 +1,106 @@
.class public abstract Landroidx/core/content/pm/ShortcutInfoCompatSaver;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/core/content/pm/ShortcutInfoCompatSaver$NoopImpl;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 35
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public abstract addShortcuts(Ljava/util/List;)Ljava/lang/Object;
.annotation build Landroidx/annotation/AnyThread;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Landroidx/core/content/pm/ShortcutInfoCompat;",
">;)TT;"
}
.end annotation
.end method
.method public getShortcuts()Ljava/util/List;
.locals 1
.annotation build Landroidx/annotation/WorkerThread;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Landroidx/core/content/pm/ShortcutInfoCompat;",
">;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 47
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
return-object v0
.end method
.method public abstract removeAllShortcuts()Ljava/lang/Object;
.annotation build Landroidx/annotation/AnyThread;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
.end method
.method public abstract removeShortcuts(Ljava/util/List;)Ljava/lang/Object;
.annotation build Landroidx/annotation/AnyThread;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/lang/String;",
">;)TT;"
}
.end annotation
.end method

View File

@@ -0,0 +1,14 @@
.class public abstract synthetic Landroidx/core/content/pm/ShortcutManagerCompat$$ExternalSyntheticApiModelOutline0;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static bridge synthetic m(Landroid/content/pm/ShortcutManager;Landroid/content/pm/ShortcutInfo;)V
.locals 0
.line 0
invoke-virtual {p0, p1}, Landroid/content/pm/ShortcutManager;->pushDynamicShortcut(Landroid/content/pm/ShortcutInfo;)V
return-void
.end method

View File

@@ -0,0 +1,16 @@
.class public abstract synthetic Landroidx/core/content/pm/ShortcutManagerCompat$$ExternalSyntheticApiModelOutline1;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static bridge synthetic m(Landroid/content/pm/ShortcutManager;I)Ljava/util/List;
.locals 0
.line 0
invoke-virtual {p0, p1}, Landroid/content/pm/ShortcutManager;->getShortcuts(I)Ljava/util/List;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,14 @@
.class public abstract synthetic Landroidx/core/content/pm/ShortcutManagerCompat$$ExternalSyntheticApiModelOutline2;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static bridge synthetic m(Landroid/content/pm/ShortcutManager;Ljava/util/List;)V
.locals 0
.line 0
invoke-virtual {p0, p1}, Landroid/content/pm/ShortcutManager;->removeLongLivedShortcuts(Ljava/util/List;)V
return-void
.end method

View File

@@ -0,0 +1,58 @@
.class Landroidx/core/content/pm/ShortcutManagerCompat$1;
.super Landroid/content/BroadcastReceiver;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/core/content/pm/ShortcutManagerCompat;->requestPinShortcut(Landroid/content/Context;Landroidx/core/content/pm/ShortcutInfoCompat;Landroid/content/IntentSender;)Z
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic val$callback:Landroid/content/IntentSender;
# direct methods
.method public constructor <init>(Landroid/content/IntentSender;)V
.locals 0
iput-object p1, p0, Landroidx/core/content/pm/ShortcutManagerCompat$1;->val$callback:Landroid/content/IntentSender;
.line 213
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
return-void
.end method
# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
.locals 6
:try_start_0
iget-object v0, p0, Landroidx/core/content/pm/ShortcutManagerCompat$1;->val$callback:Landroid/content/IntentSender;
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x0
move-object v1, p1
.line 217
invoke-virtual/range {v0 .. v5}, Landroid/content/IntentSender;->sendIntent(Landroid/content/Context;ILandroid/content/Intent;Landroid/content/IntentSender$OnFinished;Landroid/os/Handler;)V
:try_end_0
.catch Landroid/content/IntentSender$SendIntentException; {:try_start_0 .. :try_end_0} :catch_0
:catch_0
return-void
.end method

View File

@@ -0,0 +1,97 @@
.class Landroidx/core/content/pm/ShortcutManagerCompat$Api25Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x19
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/pm/ShortcutManagerCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api25Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 923
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getShortcutInfoWithLowestRank(Ljava/util/List;)Ljava/lang/String;
.locals 5
.param p0 # Ljava/util/List;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Landroid/content/pm/ShortcutInfo;",
">;)",
"Ljava/lang/String;"
}
.end annotation
.line 927
invoke-interface {p0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p0
const/4 v0, -0x1
const/4 v1, 0x0
:cond_0
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/content/pm/ShortcutInfo;
.line 928
invoke-virtual {v2}, Landroid/content/pm/ShortcutInfo;->getRank()I
move-result v3
if-le v3, v0, :cond_0
.line 929
invoke-virtual {v2}, Landroid/content/pm/ShortcutInfo;->getId()Ljava/lang/String;
move-result-object v0
.line 930
invoke-virtual {v2}, Landroid/content/pm/ShortcutInfo;->getRank()I
move-result v1
move v4, v1
move-object v1, v0
move v0, v4
goto :goto_0
:cond_1
return-object v1
.end method

View File

@@ -0,0 +1,27 @@
.class public interface abstract annotation Landroidx/core/content/pm/ShortcutManagerCompat$ShortcutMatchFlags;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/pm/ShortcutManagerCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "ShortcutMatchFlags"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->SOURCE:Ljava/lang/annotation/RetentionPolicy;
.end annotation

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,484 @@
.class public Landroidx/core/content/pm/ShortcutXmlParser;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
# static fields
.field private static final ATTR_SHORTCUT_ID:Ljava/lang/String; = "shortcutId"
.field private static final GET_INSTANCE_LOCK:Ljava/lang/Object;
.field private static final META_DATA_APP_SHORTCUTS:Ljava/lang/String; = "android.app.shortcuts"
.field private static final TAG:Ljava/lang/String; = "ShortcutXmlParser"
.field private static final TAG_SHORTCUT:Ljava/lang/String; = "shortcut"
.field private static volatile sShortcutIds:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 1
.line 59
new-instance v0, Ljava/lang/Object;
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
sput-object v0, Landroidx/core/content/pm/ShortcutXmlParser;->GET_INSTANCE_LOCK:Ljava/lang/Object;
return-void
.end method
.method private constructor <init>()V
.locals 0
.line 78
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method private static getAttributeValue(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Ljava/lang/String;
.locals 1
const-string v0, "http://schemas.android.com/apk/res/android"
.line 160
invoke-interface {p0, v0, p1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
if-nez v0, :cond_0
const/4 v0, 0x0
.line 163
invoke-interface {p0, v0, p1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
:cond_0
return-object v0
.end method
.method public static getShortcutIds(Landroid/content/Context;)Ljava/util/List;
.locals 2
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Landroidx/annotation/WorkerThread;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
")",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
sget-object v0, Landroidx/core/content/pm/ShortcutXmlParser;->sShortcutIds:Ljava/util/ArrayList;
if-nez v0, :cond_1
sget-object v0, Landroidx/core/content/pm/ShortcutXmlParser;->GET_INSTANCE_LOCK:Ljava/lang/Object;
.line 68
monitor-enter v0
:try_start_0
sget-object v1, Landroidx/core/content/pm/ShortcutXmlParser;->sShortcutIds:Ljava/util/ArrayList;
if-nez v1, :cond_0
.line 70
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
sput-object v1, Landroidx/core/content/pm/ShortcutXmlParser;->sShortcutIds:Ljava/util/ArrayList;
sget-object v1, Landroidx/core/content/pm/ShortcutXmlParser;->sShortcutIds:Ljava/util/ArrayList;
.line 71
invoke-static {p0}, Landroidx/core/content/pm/ShortcutXmlParser;->parseShortcutIds(Landroid/content/Context;)Ljava/util/Set;
move-result-object p0
invoke-virtual {v1, p0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
goto :goto_0
:catchall_0
move-exception p0
goto :goto_1
.line 73
:cond_0
:goto_0
monitor-exit v0
goto :goto_2
:goto_1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p0
:cond_1
:goto_2
sget-object p0, Landroidx/core/content/pm/ShortcutXmlParser;->sShortcutIds:Ljava/util/ArrayList;
return-object p0
.end method
.method private static getXmlResourceParser(Landroid/content/Context;Landroid/content/pm/ActivityInfo;)Landroid/content/res/XmlResourceParser;
.locals 2
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 120
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object p0
const-string v0, "android.app.shortcuts"
invoke-virtual {p1, p0, v0}, Landroid/content/pm/PackageItemInfo;->loadXmlMetaData(Landroid/content/pm/PackageManager;Ljava/lang/String;)Landroid/content/res/XmlResourceParser;
move-result-object p0
if-eqz p0, :cond_0
return-object p0
.line 123
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "Failed to open android.app.shortcuts meta-data resource of "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object p1, p1, Landroid/content/pm/ActivityInfo;->name:Ljava/lang/String;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static parseShortcutIds(Lorg/xmlpull/v1/XmlPullParser;)Ljava/util/List;
.locals 6
.param p0 # Lorg/xmlpull/v1/XmlPullParser;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Landroidx/annotation/VisibleForTesting;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lorg/xmlpull/v1/XmlPullParser;",
")",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Lorg/xmlpull/v1/XmlPullParserException;
}
.end annotation
.line 138
new-instance v0, Ljava/util/ArrayList;
const/4 v1, 0x1
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
.line 141
:cond_0
:goto_0
invoke-interface {p0}, Lorg/xmlpull/v1/XmlPullParser;->next()I
move-result v2
if-eq v2, v1, :cond_3
const/4 v3, 0x3
if-ne v2, v3, :cond_1
.line 142
invoke-interface {p0}, Lorg/xmlpull/v1/XmlPullParser;->getDepth()I
move-result v3
if-lez v3, :cond_3
.line 143
:cond_1
invoke-interface {p0}, Lorg/xmlpull/v1/XmlPullParser;->getDepth()I
move-result v3
.line 144
invoke-interface {p0}, Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String;
move-result-object v4
const/4 v5, 0x2
if-ne v2, v5, :cond_0
if-ne v3, v5, :cond_0
const-string v2, "shortcut"
.line 146
invoke-virtual {v2, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_0
const-string v2, "shortcutId"
.line 147
invoke-static {p0, v2}, Landroidx/core/content/pm/ShortcutXmlParser;->getAttributeValue(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
if-nez v2, :cond_2
goto :goto_0
.line 152
:cond_2
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_3
return-object v0
.end method
.method private static parseShortcutIds(Landroid/content/Context;)Ljava/util/Set;
.locals 5
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
")",
"Ljava/util/Set<",
"Ljava/lang/String;",
">;"
}
.end annotation
.line 90
new-instance v0, Ljava/util/HashSet;
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
.line 91
new-instance v1, Landroid/content/Intent;
const-string v2, "android.intent.action.MAIN"
invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
const-string v2, "android.intent.category.LAUNCHER"
.line 92
invoke-virtual {v1, v2}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;
.line 93
invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;
.line 95
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v2
const/16 v3, 0x80
invoke-virtual {v2, v1, v3}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;
move-result-object v1
if-eqz v1, :cond_3
.line 97
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v2
if-nez v2, :cond_0
goto :goto_3
.line 101
:cond_0
:try_start_0
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_1
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_3
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/content/pm/ResolveInfo;
.line 102
iget-object v2, v2, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
.line 103
iget-object v3, v2, Landroid/content/pm/ActivityInfo;->metaData:Landroid/os/Bundle;
if-eqz v3, :cond_1
const-string v4, "android.app.shortcuts"
.line 104
invoke-virtual {v3, v4}, Landroid/os/BaseBundle;->containsKey(Ljava/lang/String;)Z
move-result v3
if-eqz v3, :cond_1
.line 105
invoke-static {p0, v2}, Landroidx/core/content/pm/ShortcutXmlParser;->getXmlResourceParser(Landroid/content/Context;Landroid/content/pm/ActivityInfo;)Landroid/content/res/XmlResourceParser;
move-result-object v2
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
.line 106
:try_start_1
invoke-static {v2}, Landroidx/core/content/pm/ShortcutXmlParser;->parseShortcutIds(Lorg/xmlpull/v1/XmlPullParser;)Ljava/util/List;
move-result-object v3
invoke-interface {v0, v3}, Ljava/util/Set;->addAll(Ljava/util/Collection;)Z
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
if-eqz v2, :cond_1
.line 107
:try_start_2
invoke-interface {v2}, Landroid/content/res/XmlResourceParser;->close()V
:try_end_2
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0
goto :goto_0
:catch_0
move-exception p0
goto :goto_2
:catchall_0
move-exception p0
if-eqz v2, :cond_2
.line 105
:try_start_3
invoke-interface {v2}, Landroid/content/res/XmlResourceParser;->close()V
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
goto :goto_1
:catchall_1
move-exception v1
:try_start_4
invoke-virtual {p0, v1}, Ljava/lang/Throwable;->addSuppressed(Ljava/lang/Throwable;)V
:cond_2
:goto_1
throw p0
:try_end_4
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_0
:goto_2
const-string v1, "ShortcutXmlParser"
const-string v2, "Failed to parse the Xml resource: "
.line 113
invoke-static {v1, v2, p0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
:cond_3
:goto_3
return-object v0
.end method

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,638 @@
.class final Landroidx/core/content/res/CamUtils;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field static final CAM16RGB_TO_XYZ:[[F
.field static final SRGB_TO_XYZ:[[F
.field static final WHITE_POINT_D65:[F
.field static final XYZ_TO_CAM16RGB:[[F
# direct methods
.method static constructor <clinit>()V
.locals 6
const/4 v0, 0x3
new-array v1, v0, [[F
new-array v2, v0, [F
fill-array-data v2, :array_0
const/4 v3, 0x0
aput-object v2, v1, v3
new-array v2, v0, [F
fill-array-data v2, :array_1
const/4 v4, 0x1
aput-object v2, v1, v4
new-array v2, v0, [F
fill-array-data v2, :array_2
const/4 v5, 0x2
aput-object v2, v1, v5
sput-object v1, Landroidx/core/content/res/CamUtils;->XYZ_TO_CAM16RGB:[[F
new-array v1, v0, [[F
new-array v2, v0, [F
fill-array-data v2, :array_3
aput-object v2, v1, v3
new-array v2, v0, [F
fill-array-data v2, :array_4
aput-object v2, v1, v4
new-array v2, v0, [F
fill-array-data v2, :array_5
aput-object v2, v1, v5
sput-object v1, Landroidx/core/content/res/CamUtils;->CAM16RGB_TO_XYZ:[[F
new-array v1, v0, [F
fill-array-data v1, :array_6
sput-object v1, Landroidx/core/content/res/CamUtils;->WHITE_POINT_D65:[F
new-array v1, v0, [[F
new-array v2, v0, [F
fill-array-data v2, :array_7
aput-object v2, v1, v3
new-array v2, v0, [F
fill-array-data v2, :array_8
aput-object v2, v1, v4
new-array v0, v0, [F
fill-array-data v0, :array_9
aput-object v0, v1, v5
sput-object v1, Landroidx/core/content/res/CamUtils;->SRGB_TO_XYZ:[[F
return-void
nop
:array_0
.array-data 4
0x3ecd759f
0x3f2671bd
-0x42ad373b # -0.051461f
.end array-data
:array_1
.array-data 4
-0x417fdcdf
0x3f9a2a3d
0x3d3bd167
.end array-data
:array_2
.array-data 4
-0x44f7c02b # -0.002079f
0x3d4881e4
0x3f740022
.end array-data
:array_3
.array-data 4
0x3fee583d
-0x407e8f35
0x3e18c46b
.end array-data
:array_4
.array-data 4
0x3ec669e1
0x3f1f172e
-0x43ecf866
.end array-data
:array_5
.array-data 4
-0x437e39f7
-0x42f43b81
0x3f86653c
.end array-data
:array_6
.array-data 4
0x42be1810
0x42c80000 # 100.0f
0x42d9c419
.end array-data
:array_7
.array-data 4
0x3ed31e17
0x3eb71a0d
0x3e38d7b9
.end array-data
:array_8
.array-data 4
0x3e59b3d0 # 0.2126f
0x3f371759 # 0.7152f
0x3d93dd98 # 0.0722f
.end array-data
:array_9
.array-data 4
0x3c9e47ef
0x3df40c29
0x3f7349cc
.end array-data
.end method
.method private constructor <init>()V
.locals 0
.line 48
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static intFromLStar(F)I
.locals 15
const/high16 v0, 0x3f800000 # 1.0f
cmpg-float v0, p0, v0
if-gez v0, :cond_0
const/high16 p0, -0x1000000
return p0
:cond_0
const/high16 v0, 0x42c60000 # 99.0f
cmpl-float v0, p0, v0
if-lez v0, :cond_1
const/4 p0, -0x1
return p0
:cond_1
const/high16 v0, 0x41800000 # 16.0f
add-float v1, p0, v0
const/high16 v2, 0x42e80000 # 116.0f
div-float/2addr v1, v2
const/high16 v3, 0x41000000 # 8.0f
cmpl-float v3, p0, v3
const v4, 0x4461d2f7
if-lez v3, :cond_2
mul-float p0, v1, v1
mul-float/2addr p0, v1
goto :goto_0
:cond_2
div-float/2addr p0, v4
:goto_0
mul-float v3, v1, v1
mul-float/2addr v3, v1
const v5, 0x3c111aa7
cmpl-float v5, v3, v5
const/4 v6, 0x0
const/4 v7, 0x1
if-lez v5, :cond_3
move v5, v7
goto :goto_1
:cond_3
move v5, v6
:goto_1
if-eqz v5, :cond_4
move v8, v3
goto :goto_2
:cond_4
mul-float v8, v1, v2
sub-float/2addr v8, v0
div-float/2addr v8, v4
:goto_2
if-eqz v5, :cond_5
goto :goto_3
:cond_5
mul-float/2addr v1, v2
sub-float/2addr v1, v0
div-float v3, v1, v4
:goto_3
sget-object v0, Landroidx/core/content/res/CamUtils;->WHITE_POINT_D65:[F
.line 101
aget v1, v0, v6
mul-float/2addr v8, v1
float-to-double v9, v8
aget v1, v0, v7
mul-float/2addr p0, v1
float-to-double v11, p0
const/4 p0, 0x2
aget p0, v0, p0
mul-float/2addr v3, p0
float-to-double v13, v3
invoke-static/range {v9 .. v14}, Landroidx/core/graphics/ColorUtils;->XYZToColor(DDD)I
move-result p0
return p0
.end method
.method public static lStarFromInt(I)F
.locals 0
.line 111
invoke-static {p0}, Landroidx/core/content/res/CamUtils;->yFromInt(I)F
move-result p0
invoke-static {p0}, Landroidx/core/content/res/CamUtils;->lStarFromY(F)F
move-result p0
return p0
.end method
.method public static lStarFromY(F)F
.locals 2
const/high16 v0, 0x42c80000 # 100.0f
div-float/2addr p0, v0
const v0, 0x3c111aa7
cmpg-float v0, p0, v0
if-gtz v0, :cond_0
const v0, 0x4461d2f7
mul-float/2addr p0, v0
return p0
:cond_0
float-to-double v0, p0
.line 121
invoke-static {v0, v1}, Ljava/lang/Math;->cbrt(D)D
move-result-wide v0
double-to-float p0, v0
const/high16 v0, 0x42e80000 # 116.0f
mul-float/2addr p0, v0
const/high16 v0, 0x41800000 # 16.0f
sub-float/2addr p0, v0
return p0
.end method
.method public static lerp(FFF)F
.locals 0
sub-float/2addr p1, p0
mul-float/2addr p1, p2
add-float/2addr p0, p1
return p0
.end method
.method public static linearized(I)F
.locals 6
int-to-float p0, p0
const/high16 v0, 0x437f0000 # 255.0f
div-float/2addr p0, v0
const v0, 0x3d25aee6 # 0.04045f
cmpg-float v0, p0, v0
const/high16 v1, 0x42c80000 # 100.0f
if-gtz v0, :cond_0
const v0, 0x414eb852 # 12.92f
div-float/2addr p0, v0
:goto_0
mul-float/2addr p0, v1
return p0
:cond_0
const v0, 0x3d6147ae # 0.055f
add-float/2addr p0, v0
const v0, 0x3f870a3d # 1.055f
div-float/2addr p0, v0
float-to-double v2, p0
const-wide v4, 0x4003333340000000L # 2.4000000953674316
.line 161
invoke-static {v2, v3, v4, v5}, Ljava/lang/Math;->pow(DD)D
move-result-wide v2
double-to-float p0, v2
goto :goto_0
.end method
.method public static xyzFromInt(I[F)V
.locals 9
.param p1 # [F
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 136
invoke-static {p0}, Landroid/graphics/Color;->red(I)I
move-result v0
invoke-static {v0}, Landroidx/core/content/res/CamUtils;->linearized(I)F
move-result v0
.line 137
invoke-static {p0}, Landroid/graphics/Color;->green(I)I
move-result v1
invoke-static {v1}, Landroidx/core/content/res/CamUtils;->linearized(I)F
move-result v1
.line 138
invoke-static {p0}, Landroid/graphics/Color;->blue(I)I
move-result p0
invoke-static {p0}, Landroidx/core/content/res/CamUtils;->linearized(I)F
move-result p0
sget-object v2, Landroidx/core/content/res/CamUtils;->SRGB_TO_XYZ:[[F
const/4 v3, 0x0
.line 141
aget-object v4, v2, v3
aget v5, v4, v3
mul-float/2addr v5, v0
const/4 v6, 0x1
aget v7, v4, v6
mul-float/2addr v7, v1
add-float/2addr v5, v7
const/4 v7, 0x2
aget v4, v4, v7
mul-float/2addr v4, p0
add-float/2addr v5, v4
aput v5, p1, v3
.line 142
aget-object v4, v2, v6
aget v5, v4, v3
mul-float/2addr v5, v0
aget v8, v4, v6
mul-float/2addr v8, v1
add-float/2addr v5, v8
aget v4, v4, v7
mul-float/2addr v4, p0
add-float/2addr v5, v4
aput v5, p1, v6
.line 143
aget-object v2, v2, v7
aget v3, v2, v3
mul-float/2addr v0, v3
aget v3, v2, v6
mul-float/2addr v1, v3
add-float/2addr v0, v1
aget v1, v2, v7
mul-float/2addr p0, v1
add-float/2addr v0, p0
aput v0, p1, v7
return-void
.end method
.method public static yFromInt(I)F
.locals 5
.line 127
invoke-static {p0}, Landroid/graphics/Color;->red(I)I
move-result v0
invoke-static {v0}, Landroidx/core/content/res/CamUtils;->linearized(I)F
move-result v0
.line 128
invoke-static {p0}, Landroid/graphics/Color;->green(I)I
move-result v1
invoke-static {v1}, Landroidx/core/content/res/CamUtils;->linearized(I)F
move-result v1
.line 129
invoke-static {p0}, Landroid/graphics/Color;->blue(I)I
move-result p0
invoke-static {p0}, Landroidx/core/content/res/CamUtils;->linearized(I)F
move-result p0
sget-object v2, Landroidx/core/content/res/CamUtils;->SRGB_TO_XYZ:[[F
const/4 v3, 0x1
.line 131
aget-object v2, v2, v3
const/4 v4, 0x0
aget v4, v2, v4
mul-float/2addr v0, v4
aget v3, v2, v3
mul-float/2addr v1, v3
add-float/2addr v0, v1
const/4 v1, 0x2
aget v1, v2, v1
mul-float/2addr p0, v1
add-float/2addr v0, p0
return v0
.end method
.method public static yFromLStar(F)F
.locals 6
const/high16 v0, 0x41000000 # 8.0f
cmpl-float v0, p0, v0
const/high16 v1, 0x42c80000 # 100.0f
if-lez v0, :cond_0
float-to-double v2, p0
const-wide/high16 v4, 0x4030000000000000L # 16.0
add-double/2addr v2, v4
const-wide/high16 v4, 0x405d000000000000L # 116.0
div-double/2addr v2, v4
const-wide/high16 v4, 0x4008000000000000L # 3.0
.line 149
invoke-static {v2, v3, v4, v5}, Ljava/lang/Math;->pow(DD)D
move-result-wide v2
double-to-float p0, v2
:goto_0
mul-float/2addr p0, v1
return p0
:cond_0
const v0, 0x4461d2f7
div-float/2addr p0, v0
goto :goto_0
.end method

Some files were not shown because too many files have changed in this diff Show More