- 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
91 lines
2.3 KiB
Smali
91 lines
2.3 KiB
Smali
.class public final Landroidx/core/app/ServiceCompat;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/core/app/ServiceCompat$Api34Impl;,
|
|
Landroidx/core/app/ServiceCompat$Api29Impl;,
|
|
Landroidx/core/app/ServiceCompat$Api24Impl;,
|
|
Landroidx/core/app/ServiceCompat$StopForegroundFlags;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final FOREGROUND_SERVICE_TYPE_ALLOWED_SINCE_Q:I = 0xff
|
|
|
|
.field private static final FOREGROUND_SERVICE_TYPE_ALLOWED_SINCE_U:I = 0x40000fff
|
|
|
|
.field public static final START_STICKY:I = 0x1
|
|
|
|
.field public static final STOP_FOREGROUND_DETACH:I = 0x2
|
|
|
|
.field public static final STOP_FOREGROUND_REMOVE:I = 0x1
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 42
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static startForeground(Landroid/app/Service;ILandroid/app/Notification;I)V
|
|
.locals 2
|
|
.param p0 # Landroid/app/Service;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroid/app/Notification;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x22
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 171
|
|
invoke-static {p0, p1, p2, p3}, Landroidx/core/app/ServiceCompat$Api34Impl;->startForeground(Landroid/app/Service;ILandroid/app/Notification;I)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/16 v1, 0x1d
|
|
|
|
if-lt v0, v1, :cond_1
|
|
|
|
.line 173
|
|
invoke-static {p0, p1, p2, p3}, Landroidx/core/app/ServiceCompat$Api29Impl;->startForeground(Landroid/app/Service;ILandroid/app/Notification;I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 175
|
|
:cond_1
|
|
invoke-virtual {p0, p1, p2}, Landroid/app/Service;->startForeground(ILandroid/app/Notification;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static stopForeground(Landroid/app/Service;I)V
|
|
.locals 0
|
|
.param p0 # Landroid/app/Service;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 190
|
|
invoke-static {p0, p1}, Landroidx/core/app/ServiceCompat$Api24Impl;->stopForeground(Landroid/app/Service;I)V
|
|
|
|
return-void
|
|
.end method
|