- 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
701 lines
20 KiB
Smali
701 lines
20 KiB
Smali
.class public final Landroidx/core/app/NotificationCompat$CarExtender;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroidx/core/app/NotificationCompat$Extender;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/core/app/NotificationCompat;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "CarExtender"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;,
|
|
Landroidx/core/app/NotificationCompat$CarExtender$Api20Impl;,
|
|
Landroidx/core/app/NotificationCompat$CarExtender$Api29Impl;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field static final EXTRA_CAR_EXTENDER:Ljava/lang/String; = "android.car.EXTENSIONS"
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private static final EXTRA_COLOR:Ljava/lang/String; = "app_color"
|
|
|
|
.field private static final EXTRA_CONVERSATION:Ljava/lang/String; = "car_conversation"
|
|
|
|
.field static final EXTRA_INVISIBLE_ACTIONS:Ljava/lang/String; = "invisible_actions"
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private static final EXTRA_LARGE_ICON:Ljava/lang/String; = "large_icon"
|
|
|
|
.field private static final KEY_AUTHOR:Ljava/lang/String; = "author"
|
|
|
|
.field private static final KEY_MESSAGES:Ljava/lang/String; = "messages"
|
|
|
|
.field private static final KEY_ON_READ:Ljava/lang/String; = "on_read"
|
|
|
|
.field private static final KEY_ON_REPLY:Ljava/lang/String; = "on_reply"
|
|
|
|
.field private static final KEY_PARTICIPANTS:Ljava/lang/String; = "participants"
|
|
|
|
.field private static final KEY_REMOTE_INPUT:Ljava/lang/String; = "remote_input"
|
|
|
|
.field private static final KEY_TEXT:Ljava/lang/String; = "text"
|
|
|
|
.field private static final KEY_TIMESTAMP:Ljava/lang/String; = "timestamp"
|
|
|
|
|
|
# instance fields
|
|
.field private mColor:I
|
|
|
|
.field private mLargeIcon:Landroid/graphics/Bitmap;
|
|
|
|
.field private mUnreadConversation:Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 7670
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$CarExtender;->mColor:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/app/Notification;)V
|
|
.locals 2
|
|
.param p1 # Landroid/app/Notification;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 7679
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$CarExtender;->mColor:I
|
|
|
|
.line 7684
|
|
invoke-static {p1}, Landroidx/core/app/NotificationCompat;->getExtras(Landroid/app/Notification;)Landroid/os/Bundle;
|
|
|
|
move-result-object v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
.line 7685
|
|
:cond_0
|
|
invoke-static {p1}, Landroidx/core/app/NotificationCompat;->getExtras(Landroid/app/Notification;)Landroid/os/Bundle;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v1, "android.car.EXTENSIONS"
|
|
|
|
invoke-virtual {p1, v1}, Landroid/os/Bundle;->getBundle(Ljava/lang/String;)Landroid/os/Bundle;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_0
|
|
if-eqz p1, :cond_1
|
|
|
|
const-string v1, "large_icon"
|
|
|
|
.line 7687
|
|
invoke-virtual {p1, v1}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/graphics/Bitmap;
|
|
|
|
iput-object v1, p0, Landroidx/core/app/NotificationCompat$CarExtender;->mLargeIcon:Landroid/graphics/Bitmap;
|
|
|
|
const-string v1, "app_color"
|
|
|
|
.line 7688
|
|
invoke-virtual {p1, v1, v0}, Landroid/os/BaseBundle;->getInt(Ljava/lang/String;I)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$CarExtender;->mColor:I
|
|
|
|
const-string v0, "car_conversation"
|
|
|
|
.line 7690
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getBundle(Ljava/lang/String;)Landroid/os/Bundle;
|
|
|
|
move-result-object p1
|
|
|
|
.line 7691
|
|
invoke-static {p1}, Landroidx/core/app/NotificationCompat$CarExtender;->getUnreadConversationFromBundle(Landroid/os/Bundle;)Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroidx/core/app/NotificationCompat$CarExtender;->mUnreadConversation:Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method private static getBundleForUnreadConversation(Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;)Landroid/os/Bundle;
|
|
.locals 8
|
|
.param p0 # Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x15
|
|
.end annotation
|
|
|
|
.line 7752
|
|
new-instance v0, Landroid/os/Bundle;
|
|
|
|
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
|
|
|
|
.line 7754
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;->getParticipants()[Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;->getParticipants()[Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
array-length v1, v1
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-le v1, v3, :cond_0
|
|
|
|
.line 7755
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;->getParticipants()[Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
.line 7757
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;->getMessages()[Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
array-length v3, v3
|
|
|
|
new-array v4, v3, [Landroid/os/Parcelable;
|
|
|
|
:goto_1
|
|
if-ge v2, v3, :cond_1
|
|
|
|
.line 7759
|
|
new-instance v5, Landroid/os/Bundle;
|
|
|
|
invoke-direct {v5}, Landroid/os/Bundle;-><init>()V
|
|
|
|
.line 7760
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;->getMessages()[Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
aget-object v6, v6, v2
|
|
|
|
const-string v7, "text"
|
|
|
|
invoke-virtual {v5, v7, v6}, Landroid/os/BaseBundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const-string v6, "author"
|
|
|
|
.line 7761
|
|
invoke-virtual {v5, v6, v1}, Landroid/os/BaseBundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 7762
|
|
aput-object v5, v4, v2
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const-string v1, "messages"
|
|
|
|
.line 7764
|
|
invoke-virtual {v0, v1, v4}, Landroid/os/Bundle;->putParcelableArray(Ljava/lang/String;[Landroid/os/Parcelable;)V
|
|
|
|
.line 7765
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;->getRemoteInput()Landroidx/core/app/RemoteInput;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 7768
|
|
invoke-virtual {v1}, Landroidx/core/app/RemoteInput;->getResultKey()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
.line 7767
|
|
invoke-static {v2}, Landroidx/core/app/NotificationCompat$CarExtender$Api20Impl;->createBuilder(Ljava/lang/String;)Landroid/app/RemoteInput$Builder;
|
|
|
|
move-result-object v2
|
|
|
|
.line 7769
|
|
invoke-virtual {v1}, Landroidx/core/app/RemoteInput;->getLabel()Ljava/lang/CharSequence;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2, v3}, Landroidx/core/app/NotificationCompat$CarExtender$Api20Impl;->setLabel(Landroid/app/RemoteInput$Builder;Ljava/lang/CharSequence;)Landroid/app/RemoteInput$Builder;
|
|
|
|
.line 7770
|
|
invoke-virtual {v1}, Landroidx/core/app/RemoteInput;->getChoices()[Ljava/lang/CharSequence;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v2, v3}, Landroidx/core/app/NotificationCompat$CarExtender$Api20Impl;->setChoices(Landroid/app/RemoteInput$Builder;[Ljava/lang/CharSequence;)Landroid/app/RemoteInput$Builder;
|
|
|
|
.line 7771
|
|
invoke-virtual {v1}, Landroidx/core/app/RemoteInput;->getAllowFreeFormInput()Z
|
|
|
|
move-result v3
|
|
|
|
invoke-static {v2, v3}, Landroidx/core/app/NotificationCompat$CarExtender$Api20Impl;->setAllowFreeFormInput(Landroid/app/RemoteInput$Builder;Z)Landroid/app/RemoteInput$Builder;
|
|
|
|
.line 7772
|
|
invoke-virtual {v1}, Landroidx/core/app/RemoteInput;->getExtras()Landroid/os/Bundle;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v2, v1}, Landroidx/core/app/NotificationCompat$CarExtender$Api20Impl;->addExtras(Landroid/app/RemoteInput$Builder;Landroid/os/Bundle;)Landroid/app/RemoteInput$Builder;
|
|
|
|
.line 7774
|
|
invoke-static {v2}, Landroidx/core/app/NotificationCompat$CarExtender$Api20Impl;->build(Landroid/app/RemoteInput$Builder;)Landroid/app/RemoteInput;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "remote_input"
|
|
|
|
.line 7775
|
|
invoke-static {v1}, Landroidx/core/app/NotificationCompat$CarExtender$Api20Impl;->castToParcelable(Landroid/app/RemoteInput;)Landroid/os/Parcelable;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V
|
|
|
|
:cond_2
|
|
const-string v1, "on_reply"
|
|
|
|
.line 7777
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;->getReplyPendingIntent()Landroid/app/PendingIntent;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V
|
|
|
|
const-string v1, "on_read"
|
|
|
|
.line 7778
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;->getReadPendingIntent()Landroid/app/PendingIntent;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V
|
|
|
|
const-string v1, "participants"
|
|
|
|
.line 7779
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;->getParticipants()[Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/os/BaseBundle;->putStringArray(Ljava/lang/String;[Ljava/lang/String;)V
|
|
|
|
const-string v1, "timestamp"
|
|
|
|
.line 7780
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;->getLatestTimestamp()J
|
|
|
|
move-result-wide v2
|
|
|
|
invoke-virtual {v0, v1, v2, v3}, Landroid/os/BaseBundle;->putLong(Ljava/lang/String;J)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static getUnreadConversationFromBundle(Landroid/os/Bundle;)Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;
|
|
.locals 21
|
|
.param p0 # Landroid/os/Bundle;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x15
|
|
.end annotation
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-object v1
|
|
|
|
:cond_0
|
|
const-string v2, "messages"
|
|
|
|
.line 7701
|
|
invoke-virtual {v0, v2}, Landroid/os/Bundle;->getParcelableArray(Ljava/lang/String;)[Landroid/os/Parcelable;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
.line 7704
|
|
array-length v4, v2
|
|
|
|
new-array v5, v4, [Ljava/lang/String;
|
|
|
|
move v6, v3
|
|
|
|
:goto_0
|
|
if-ge v6, v4, :cond_3
|
|
|
|
.line 7707
|
|
aget-object v7, v2, v6
|
|
|
|
instance-of v8, v7, Landroid/os/Bundle;
|
|
|
|
if-nez v8, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
.line 7711
|
|
:cond_1
|
|
check-cast v7, Landroid/os/Bundle;
|
|
|
|
const-string v8, "text"
|
|
|
|
invoke-virtual {v7, v8}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
aput-object v7, v5, v6
|
|
|
|
if-nez v7, :cond_2
|
|
|
|
:goto_1
|
|
return-object v1
|
|
|
|
:cond_2
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
move-object v8, v5
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
move-object v8, v1
|
|
|
|
:goto_2
|
|
const-string v2, "on_read"
|
|
|
|
.line 7724
|
|
invoke-virtual {v0, v2}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;
|
|
|
|
move-result-object v2
|
|
|
|
move-object v11, v2
|
|
|
|
check-cast v11, Landroid/app/PendingIntent;
|
|
|
|
const-string v2, "on_reply"
|
|
|
|
.line 7725
|
|
invoke-virtual {v0, v2}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;
|
|
|
|
move-result-object v2
|
|
|
|
move-object v10, v2
|
|
|
|
check-cast v10, Landroid/app/PendingIntent;
|
|
|
|
const-string v2, "remote_input"
|
|
|
|
.line 7727
|
|
invoke-virtual {v0, v2}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Landroid/app/RemoteInput;
|
|
|
|
const-string v4, "participants"
|
|
|
|
.line 7729
|
|
invoke-virtual {v0, v4}, Landroid/os/BaseBundle;->getStringArray(Ljava/lang/String;)[Ljava/lang/String;
|
|
|
|
move-result-object v12
|
|
|
|
if-eqz v12, :cond_8
|
|
|
|
.line 7730
|
|
array-length v4, v12
|
|
|
|
const/4 v5, 0x1
|
|
|
|
if-eq v4, v5, :cond_5
|
|
|
|
goto :goto_3
|
|
|
|
:cond_5
|
|
if-eqz v2, :cond_7
|
|
|
|
.line 7735
|
|
new-instance v1, Landroidx/core/app/RemoteInput;
|
|
|
|
invoke-static {v2}, Landroidx/core/app/NotificationCompat$CarExtender$Api20Impl;->getResultKey(Landroid/app/RemoteInput;)Ljava/lang/String;
|
|
|
|
move-result-object v14
|
|
|
|
.line 7736
|
|
invoke-static {v2}, Landroidx/core/app/NotificationCompat$CarExtender$Api20Impl;->getLabel(Landroid/app/RemoteInput;)Ljava/lang/CharSequence;
|
|
|
|
move-result-object v15
|
|
|
|
.line 7737
|
|
invoke-static {v2}, Landroidx/core/app/NotificationCompat$CarExtender$Api20Impl;->getChoices(Landroid/app/RemoteInput;)[Ljava/lang/CharSequence;
|
|
|
|
move-result-object v16
|
|
|
|
.line 7738
|
|
invoke-static {v2}, Landroidx/core/app/NotificationCompat$CarExtender$Api20Impl;->getAllowFreeFormInput(Landroid/app/RemoteInput;)Z
|
|
|
|
move-result v17
|
|
|
|
sget v4, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v5, 0x1d
|
|
|
|
if-lt v4, v5, :cond_6
|
|
|
|
.line 7740
|
|
invoke-static {v2}, Landroidx/core/app/NotificationCompat$CarExtender$Api29Impl;->getEditChoicesBeforeSending(Landroid/app/RemoteInput;)I
|
|
|
|
move-result v3
|
|
|
|
:cond_6
|
|
move/from16 v18, v3
|
|
|
|
.line 7742
|
|
invoke-static {v2}, Landroidx/core/app/NotificationCompat$CarExtender$Api20Impl;->getExtras(Landroid/app/RemoteInput;)Landroid/os/Bundle;
|
|
|
|
move-result-object v19
|
|
|
|
const/16 v20, 0x0
|
|
|
|
move-object v13, v1
|
|
|
|
invoke-direct/range {v13 .. v20}, Landroidx/core/app/RemoteInput;-><init>(Ljava/lang/String;Ljava/lang/CharSequence;[Ljava/lang/CharSequence;ZILandroid/os/Bundle;Ljava/util/Set;)V
|
|
|
|
:cond_7
|
|
move-object v9, v1
|
|
|
|
.line 7746
|
|
new-instance v1, Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;
|
|
|
|
const-string v2, "timestamp"
|
|
|
|
.line 7747
|
|
invoke-virtual {v0, v2}, Landroid/os/BaseBundle;->getLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v13
|
|
|
|
move-object v7, v1
|
|
|
|
invoke-direct/range {v7 .. v14}, Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;-><init>([Ljava/lang/String;Landroidx/core/app/RemoteInput;Landroid/app/PendingIntent;Landroid/app/PendingIntent;[Ljava/lang/String;J)V
|
|
|
|
:cond_8
|
|
:goto_3
|
|
return-object v1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public extend(Landroidx/core/app/NotificationCompat$Builder;)Landroidx/core/app/NotificationCompat$Builder;
|
|
.locals 3
|
|
.param p1 # Landroidx/core/app/NotificationCompat$Builder;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 7796
|
|
new-instance v0, Landroid/os/Bundle;
|
|
|
|
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
|
|
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$CarExtender;->mLargeIcon:Landroid/graphics/Bitmap;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const-string v2, "large_icon"
|
|
|
|
.line 7799
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V
|
|
|
|
:cond_0
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$CarExtender;->mColor:I
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
const-string v2, "app_color"
|
|
|
|
.line 7802
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/BaseBundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
:cond_1
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$CarExtender;->mUnreadConversation:Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 7806
|
|
invoke-static {v1}, Landroidx/core/app/NotificationCompat$CarExtender;->getBundleForUnreadConversation(Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;)Landroid/os/Bundle;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "car_conversation"
|
|
|
|
.line 7807
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
|
|
|
|
.line 7810
|
|
:cond_2
|
|
invoke-virtual {p1}, Landroidx/core/app/NotificationCompat$Builder;->getExtras()Landroid/os/Bundle;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "android.car.EXTENSIONS"
|
|
|
|
invoke-virtual {v1, v2, v0}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public getColor()I
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
.end annotation
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$CarExtender;->mColor:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getLargeIcon()Landroid/graphics/Bitmap;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$CarExtender;->mLargeIcon:Landroid/graphics/Bitmap;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getUnreadConversation()Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$CarExtender;->mUnreadConversation:Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public setColor(I)Landroidx/core/app/NotificationCompat$CarExtender;
|
|
.locals 0
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/ColorInt;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
iput p1, p0, Landroidx/core/app/NotificationCompat$CarExtender;->mColor:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setLargeIcon(Landroid/graphics/Bitmap;)Landroidx/core/app/NotificationCompat$CarExtender;
|
|
.locals 0
|
|
.param p1 # Landroid/graphics/Bitmap;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Landroidx/core/app/NotificationCompat$CarExtender;->mLargeIcon:Landroid/graphics/Bitmap;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setUnreadConversation(Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;)Landroidx/core/app/NotificationCompat$CarExtender;
|
|
.locals 0
|
|
.param p1 # Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;
|
|
.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$CarExtender;->mUnreadConversation:Landroidx/core/app/NotificationCompat$CarExtender$UnreadConversation;
|
|
|
|
return-object p0
|
|
.end method
|