- 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
187 lines
5.3 KiB
Smali
187 lines
5.3 KiB
Smali
.class public Landroidx/media/app/NotificationCompat$DecoratedMediaCustomViewStyle;
|
|
.super Landroidx/media/app/NotificationCompat$MediaStyle;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/media/app/NotificationCompat;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "DecoratedMediaCustomViewStyle"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 379
|
|
invoke-direct {p0}, Landroidx/media/app/NotificationCompat$MediaStyle;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private setBackgroundColor(Landroid/widget/RemoteViews;)V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$Style;->mBuilder:Landroidx/core/app/NotificationCompat$Builder;
|
|
|
|
.line 496
|
|
invoke-virtual {v0}, Landroidx/core/app/NotificationCompat$Builder;->getColor()I
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$Style;->mBuilder:Landroidx/core/app/NotificationCompat$Builder;
|
|
|
|
.line 497
|
|
invoke-virtual {v0}, Landroidx/core/app/NotificationCompat$Builder;->getColor()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$Style;->mBuilder:Landroidx/core/app/NotificationCompat$Builder;
|
|
|
|
.line 498
|
|
iget-object v0, v0, Landroidx/core/app/NotificationCompat$Builder;->mContext:Landroid/content/Context;
|
|
|
|
invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v0
|
|
|
|
sget v1, Landroidx/media/R$color;->notification_material_background_media_default_color:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getColor(I)I
|
|
|
|
move-result v0
|
|
|
|
:goto_0
|
|
sget v1, Landroidx/media/R$id;->status_bar_latest_event_content:I
|
|
|
|
const-string v2, "setBackgroundColor"
|
|
|
|
.line 500
|
|
invoke-virtual {p1, v1, v2, v0}, Landroid/widget/RemoteViews;->setInt(ILjava/lang/String;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public apply(Landroidx/core/app/NotificationBuilderWithBuilderAccessor;)V
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
.line 389
|
|
invoke-interface {p1}, Landroidx/core/app/NotificationBuilderWithBuilderAccessor;->getBuilder()Landroid/app/Notification$Builder;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v0, Landroid/app/Notification$DecoratedMediaCustomViewStyle;
|
|
|
|
invoke-direct {v0}, Landroid/app/Notification$DecoratedMediaCustomViewStyle;-><init>()V
|
|
|
|
.line 390
|
|
invoke-virtual {p0, v0}, Landroidx/media/app/NotificationCompat$MediaStyle;->fillInMediaStyle(Landroid/app/Notification$MediaStyle;)Landroid/app/Notification$MediaStyle;
|
|
|
|
move-result-object v0
|
|
|
|
.line 389
|
|
invoke-virtual {p1, v0}, Landroid/app/Notification$Builder;->setStyle(Landroid/app/Notification$Style;)Landroid/app/Notification$Builder;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getBigContentViewLayoutResource(I)I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x3
|
|
|
|
if-gt p1, v0, :cond_0
|
|
|
|
sget p1, Landroidx/media/R$layout;->notification_template_big_media_narrow_custom:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget p1, Landroidx/media/R$layout;->notification_template_big_media_custom:I
|
|
|
|
:goto_0
|
|
return p1
|
|
.end method
|
|
|
|
.method public getContentViewLayoutResource()I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$Style;->mBuilder:Landroidx/core/app/NotificationCompat$Builder;
|
|
|
|
.line 433
|
|
invoke-virtual {v0}, Landroidx/core/app/NotificationCompat$Builder;->getContentView()Landroid/widget/RemoteViews;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
sget v0, Landroidx/media/R$layout;->notification_template_media_custom:I
|
|
|
|
goto :goto_0
|
|
|
|
.line 435
|
|
:cond_0
|
|
invoke-super {p0}, Landroidx/media/app/NotificationCompat$MediaStyle;->getContentViewLayoutResource()I
|
|
|
|
move-result v0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public makeBigContentView(Landroidx/core/app/NotificationBuilderWithBuilderAccessor;)Landroid/widget/RemoteViews;
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public makeContentView(Landroidx/core/app/NotificationBuilderWithBuilderAccessor;)Landroid/widget/RemoteViews;
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public makeHeadsUpContentView(Landroidx/core/app/NotificationBuilderWithBuilderAccessor;)Landroid/widget/RemoteViews;
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|