- 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
463 lines
13 KiB
Smali
463 lines
13 KiB
Smali
.class public final Landroidx/core/app/NotificationCompat$Action$WearableExtender;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroidx/core/app/NotificationCompat$Action$Extender;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/core/app/NotificationCompat$Action;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "WearableExtender"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final DEFAULT_FLAGS:I = 0x1
|
|
|
|
.field private static final EXTRA_WEARABLE_EXTENSIONS:Ljava/lang/String; = "android.wearable.EXTENSIONS"
|
|
|
|
.field private static final FLAG_AVAILABLE_OFFLINE:I = 0x1
|
|
|
|
.field private static final FLAG_HINT_DISPLAY_INLINE:I = 0x4
|
|
|
|
.field private static final FLAG_HINT_LAUNCHES_ACTIVITY:I = 0x2
|
|
|
|
.field private static final KEY_CANCEL_LABEL:Ljava/lang/String; = "cancelLabel"
|
|
|
|
.field private static final KEY_CONFIRM_LABEL:Ljava/lang/String; = "confirmLabel"
|
|
|
|
.field private static final KEY_FLAGS:Ljava/lang/String; = "flags"
|
|
|
|
.field private static final KEY_IN_PROGRESS_LABEL:Ljava/lang/String; = "inProgressLabel"
|
|
|
|
|
|
# instance fields
|
|
.field private mCancelLabel:Ljava/lang/CharSequence;
|
|
|
|
.field private mConfirmLabel:Ljava/lang/CharSequence;
|
|
|
|
.field private mFlags:I
|
|
|
|
.field private mInProgressLabel:Ljava/lang/CharSequence;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 6308
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mFlags:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroidx/core/app/NotificationCompat$Action;)V
|
|
.locals 2
|
|
.param p1 # Landroidx/core/app/NotificationCompat$Action;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 6316
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mFlags:I
|
|
|
|
.line 6317
|
|
invoke-virtual {p1}, Landroidx/core/app/NotificationCompat$Action;->getExtras()Landroid/os/Bundle;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v1, "android.wearable.EXTENSIONS"
|
|
|
|
invoke-virtual {p1, v1}, Landroid/os/Bundle;->getBundle(Ljava/lang/String;)Landroid/os/Bundle;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const-string v1, "flags"
|
|
|
|
.line 6319
|
|
invoke-virtual {p1, v1, v0}, Landroid/os/BaseBundle;->getInt(Ljava/lang/String;I)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mFlags:I
|
|
|
|
const-string v0, "inProgressLabel"
|
|
|
|
.line 6320
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getCharSequence(Ljava/lang/String;)Ljava/lang/CharSequence;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mInProgressLabel:Ljava/lang/CharSequence;
|
|
|
|
const-string v0, "confirmLabel"
|
|
|
|
.line 6321
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getCharSequence(Ljava/lang/String;)Ljava/lang/CharSequence;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mConfirmLabel:Ljava/lang/CharSequence;
|
|
|
|
const-string v0, "cancelLabel"
|
|
|
|
.line 6322
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getCharSequence(Ljava/lang/String;)Ljava/lang/CharSequence;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mCancelLabel:Ljava/lang/CharSequence;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private setFlag(IZ)V
|
|
.locals 0
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
iget p2, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mFlags:I
|
|
|
|
or-int/2addr p1, p2
|
|
|
|
iput p1, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mFlags:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget p2, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mFlags:I
|
|
|
|
not-int p1, p1
|
|
|
|
and-int/2addr p1, p2
|
|
|
|
iput p1, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mFlags:I
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public clone()Landroidx/core/app/NotificationCompat$Action$WearableExtender;
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 6354
|
|
new-instance v0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;
|
|
|
|
invoke-direct {v0}, Landroidx/core/app/NotificationCompat$Action$WearableExtender;-><init>()V
|
|
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mFlags:I
|
|
|
|
iput v1, v0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mFlags:I
|
|
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mInProgressLabel:Ljava/lang/CharSequence;
|
|
|
|
iput-object v1, v0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mInProgressLabel:Ljava/lang/CharSequence;
|
|
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mConfirmLabel:Ljava/lang/CharSequence;
|
|
|
|
iput-object v1, v0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mConfirmLabel:Ljava/lang/CharSequence;
|
|
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mCancelLabel:Ljava/lang/CharSequence;
|
|
|
|
iput-object v1, v0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mCancelLabel:Ljava/lang/CharSequence;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic clone()Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/CloneNotSupportedException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 6280
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->clone()Landroidx/core/app/NotificationCompat$Action$WearableExtender;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public extend(Landroidx/core/app/NotificationCompat$Action$Builder;)Landroidx/core/app/NotificationCompat$Action$Builder;
|
|
.locals 3
|
|
.param p1 # Landroidx/core/app/NotificationCompat$Action$Builder;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 6333
|
|
new-instance v0, Landroid/os/Bundle;
|
|
|
|
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
|
|
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mFlags:I
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
const-string v2, "flags"
|
|
|
|
.line 6336
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/BaseBundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
:cond_0
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mInProgressLabel:Ljava/lang/CharSequence;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
const-string v2, "inProgressLabel"
|
|
|
|
.line 6339
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putCharSequence(Ljava/lang/String;Ljava/lang/CharSequence;)V
|
|
|
|
:cond_1
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mConfirmLabel:Ljava/lang/CharSequence;
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
const-string v2, "confirmLabel"
|
|
|
|
.line 6342
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putCharSequence(Ljava/lang/String;Ljava/lang/CharSequence;)V
|
|
|
|
:cond_2
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mCancelLabel:Ljava/lang/CharSequence;
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
const-string v2, "cancelLabel"
|
|
|
|
.line 6345
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putCharSequence(Ljava/lang/String;Ljava/lang/CharSequence;)V
|
|
|
|
.line 6348
|
|
:cond_3
|
|
invoke-virtual {p1}, Landroidx/core/app/NotificationCompat$Action$Builder;->getExtras()Landroid/os/Bundle;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "android.wearable.EXTENSIONS"
|
|
|
|
invoke-virtual {v1, v2, v0}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public getCancelLabel()Ljava/lang/CharSequence;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mCancelLabel:Ljava/lang/CharSequence;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getConfirmLabel()Ljava/lang/CharSequence;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mConfirmLabel:Ljava/lang/CharSequence;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getHintDisplayActionInline()Z
|
|
.locals 1
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mFlags:I
|
|
|
|
and-int/lit8 v0, v0, 0x4
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public getHintLaunchesActivity()Z
|
|
.locals 1
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mFlags:I
|
|
|
|
and-int/lit8 v0, v0, 0x2
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public getInProgressLabel()Ljava/lang/CharSequence;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mInProgressLabel:Ljava/lang/CharSequence;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public isAvailableOffline()Z
|
|
.locals 2
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mFlags:I
|
|
|
|
const/4 v1, 0x1
|
|
|
|
and-int/2addr v0, v1
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
return v1
|
|
.end method
|
|
|
|
.method public setAvailableOffline(Z)Landroidx/core/app/NotificationCompat$Action$WearableExtender;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 6369
|
|
invoke-direct {p0, v0, p1}, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->setFlag(IZ)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setCancelLabel(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$Action$WearableExtender;
|
|
.locals 0
|
|
.param p1 # Ljava/lang/CharSequence;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mCancelLabel:Ljava/lang/CharSequence;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setConfirmLabel(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$Action$WearableExtender;
|
|
.locals 0
|
|
.param p1 # Ljava/lang/CharSequence;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mConfirmLabel:Ljava/lang/CharSequence;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setHintDisplayActionInline(Z)Landroidx/core/app/NotificationCompat$Action$WearableExtender;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x4
|
|
|
|
.line 6511
|
|
invoke-direct {p0, v0, p1}, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->setFlag(IZ)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setHintLaunchesActivity(Z)Landroidx/core/app/NotificationCompat$Action$WearableExtender;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x2
|
|
|
|
.line 6485
|
|
invoke-direct {p0, v0, p1}, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->setFlag(IZ)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setInProgressLabel(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$Action$WearableExtender;
|
|
.locals 0
|
|
.param p1 # Ljava/lang/CharSequence;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Landroidx/core/app/NotificationCompat$Action$WearableExtender;->mInProgressLabel:Ljava/lang/CharSequence;
|
|
|
|
return-object p0
|
|
.end method
|