Files
rr3-apk/smali/androidx/core/content/pm/PermissionInfoCompat.smali
Daniel Elliott f3960ee359 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
2026-02-18 16:13:44 -08:00

93 lines
2.2 KiB
Smali

.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