1461 lines
40 KiB
Smali
1461 lines
40 KiB
Smali
.class public final Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.super Ljava/lang/Object;
|
|
.source "NotificationCompat.java"
|
|
|
|
# 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 = "WearableExtender"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final DEFAULT_CONTENT_ICON_GRAVITY:I = 0x800005
|
|
|
|
.field private static final DEFAULT_FLAGS:I = 0x1
|
|
|
|
.field private static final DEFAULT_GRAVITY:I = 0x50
|
|
|
|
.field private static final EXTRA_WEARABLE_EXTENSIONS:Ljava/lang/String; = "android.wearable.EXTENSIONS"
|
|
|
|
.field private static final FLAG_BIG_PICTURE_AMBIENT:I = 0x20
|
|
|
|
.field private static final FLAG_CONTENT_INTENT_AVAILABLE_OFFLINE:I = 0x1
|
|
|
|
.field private static final FLAG_HINT_AVOID_BACKGROUND_CLIPPING:I = 0x10
|
|
|
|
.field private static final FLAG_HINT_CONTENT_INTENT_LAUNCHES_ACTIVITY:I = 0x40
|
|
|
|
.field private static final FLAG_HINT_HIDE_ICON:I = 0x2
|
|
|
|
.field private static final FLAG_HINT_SHOW_BACKGROUND_ONLY:I = 0x4
|
|
|
|
.field private static final FLAG_START_SCROLL_BOTTOM:I = 0x8
|
|
|
|
.field private static final KEY_ACTIONS:Ljava/lang/String; = "actions"
|
|
|
|
.field private static final KEY_BACKGROUND:Ljava/lang/String; = "background"
|
|
|
|
.field private static final KEY_BRIDGE_TAG:Ljava/lang/String; = "bridgeTag"
|
|
|
|
.field private static final KEY_CONTENT_ACTION_INDEX:Ljava/lang/String; = "contentActionIndex"
|
|
|
|
.field private static final KEY_CONTENT_ICON:Ljava/lang/String; = "contentIcon"
|
|
|
|
.field private static final KEY_CONTENT_ICON_GRAVITY:Ljava/lang/String; = "contentIconGravity"
|
|
|
|
.field private static final KEY_CUSTOM_CONTENT_HEIGHT:Ljava/lang/String; = "customContentHeight"
|
|
|
|
.field private static final KEY_CUSTOM_SIZE_PRESET:Ljava/lang/String; = "customSizePreset"
|
|
|
|
.field private static final KEY_DISMISSAL_ID:Ljava/lang/String; = "dismissalId"
|
|
|
|
.field private static final KEY_DISPLAY_INTENT:Ljava/lang/String; = "displayIntent"
|
|
|
|
.field private static final KEY_FLAGS:Ljava/lang/String; = "flags"
|
|
|
|
.field private static final KEY_GRAVITY:Ljava/lang/String; = "gravity"
|
|
|
|
.field private static final KEY_HINT_SCREEN_TIMEOUT:Ljava/lang/String; = "hintScreenTimeout"
|
|
|
|
.field private static final KEY_PAGES:Ljava/lang/String; = "pages"
|
|
|
|
.field public static final SCREEN_TIMEOUT_LONG:I = -0x1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final SCREEN_TIMEOUT_SHORT:I = 0x0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final SIZE_DEFAULT:I = 0x0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final SIZE_FULL_SCREEN:I = 0x5
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final SIZE_LARGE:I = 0x4
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final SIZE_MEDIUM:I = 0x3
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final SIZE_SMALL:I = 0x2
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final SIZE_XSMALL:I = 0x1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final UNSET_ACTION_INDEX:I = -0x1
|
|
|
|
|
|
# instance fields
|
|
.field private mActions:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroidx/core/app/NotificationCompat$Action;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private mBackground:Landroid/graphics/Bitmap;
|
|
|
|
.field private mBridgeTag:Ljava/lang/String;
|
|
|
|
.field private mContentActionIndex:I
|
|
|
|
.field private mContentIcon:I
|
|
|
|
.field private mContentIconGravity:I
|
|
|
|
.field private mCustomContentHeight:I
|
|
|
|
.field private mCustomSizePreset:I
|
|
|
|
.field private mDismissalId:Ljava/lang/String;
|
|
|
|
.field private mDisplayIntent:Landroid/app/PendingIntent;
|
|
|
|
.field private mFlags:I
|
|
|
|
.field private mGravity:I
|
|
|
|
.field private mHintScreenTimeout:I
|
|
|
|
.field private mPages:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Landroid/app/Notification;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mActions:Ljava/util/ArrayList;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mPages:Ljava/util/ArrayList;
|
|
|
|
const v0, 0x800005
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentIconGravity:I
|
|
|
|
const/4 v0, -0x1
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentActionIndex:I
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mCustomSizePreset:I
|
|
|
|
const/16 v0, 0x50
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mGravity:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/app/Notification;)V
|
|
.locals 11
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mActions:Ljava/util/ArrayList;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
iput-object v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mPages:Ljava/util/ArrayList;
|
|
|
|
const v1, 0x800005
|
|
|
|
iput v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentIconGravity:I
|
|
|
|
const/4 v2, -0x1
|
|
|
|
iput v2, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentActionIndex:I
|
|
|
|
const/4 v3, 0x0
|
|
|
|
iput v3, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mCustomSizePreset:I
|
|
|
|
const/16 v4, 0x50
|
|
|
|
iput v4, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mGravity:I
|
|
|
|
invoke-static {p1}, Landroidx/core/app/NotificationCompat;->getExtras(Landroid/app/Notification;)Landroid/os/Bundle;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const-string v5, "android.wearable.EXTENSIONS"
|
|
|
|
invoke-virtual {p1, v5}, Landroid/os/Bundle;->getBundle(Ljava/lang/String;)Landroid/os/Bundle;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
if-eqz p1, :cond_6
|
|
|
|
const-string v5, "actions"
|
|
|
|
invoke-virtual {p1, v5}, Landroid/os/Bundle;->getParcelableArrayList(Ljava/lang/String;)Ljava/util/ArrayList;
|
|
|
|
move-result-object v5
|
|
|
|
sget v6, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v7, 0x10
|
|
|
|
if-lt v6, v7, :cond_4
|
|
|
|
if-eqz v5, :cond_4
|
|
|
|
invoke-virtual {v5}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v6
|
|
|
|
new-array v6, v6, [Landroidx/core/app/NotificationCompat$Action;
|
|
|
|
const/4 v8, 0x0
|
|
|
|
:goto_1
|
|
array-length v9, v6
|
|
|
|
if-ge v8, v9, :cond_3
|
|
|
|
sget v9, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v10, 0x14
|
|
|
|
if-lt v9, v10, :cond_1
|
|
|
|
invoke-virtual {v5, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v9
|
|
|
|
check-cast v9, Landroid/app/Notification$Action;
|
|
|
|
invoke-static {v9}, Landroidx/core/app/NotificationCompat;->getActionCompatFromAction(Landroid/app/Notification$Action;)Landroidx/core/app/NotificationCompat$Action;
|
|
|
|
move-result-object v9
|
|
|
|
aput-object v9, v6, v8
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
sget v9, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
if-lt v9, v7, :cond_2
|
|
|
|
invoke-virtual {v5, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v9
|
|
|
|
check-cast v9, Landroid/os/Bundle;
|
|
|
|
invoke-static {v9}, Landroidx/core/app/NotificationCompatJellybean;->getActionFromBundle(Landroid/os/Bundle;)Landroidx/core/app/NotificationCompat$Action;
|
|
|
|
move-result-object v9
|
|
|
|
aput-object v9, v6, v8
|
|
|
|
:cond_2
|
|
:goto_2
|
|
add-int/lit8 v8, v8, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
iget-object v5, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mActions:Ljava/util/ArrayList;
|
|
|
|
check-cast v6, [Landroidx/core/app/NotificationCompat$Action;
|
|
|
|
invoke-static {v5, v6}, Ljava/util/Collections;->addAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
|
|
|
|
:cond_4
|
|
const-string v5, "flags"
|
|
|
|
invoke-virtual {p1, v5, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
const-string v0, "displayIntent"
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/app/PendingIntent;
|
|
|
|
iput-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mDisplayIntent:Landroid/app/PendingIntent;
|
|
|
|
const-string v0, "pages"
|
|
|
|
invoke-static {p1, v0}, Landroidx/core/app/NotificationCompat;->getNotificationArrayFromBundle(Landroid/os/Bundle;Ljava/lang/String;)[Landroid/app/Notification;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
iget-object v5, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mPages:Ljava/util/ArrayList;
|
|
|
|
invoke-static {v5, v0}, Ljava/util/Collections;->addAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
|
|
|
|
:cond_5
|
|
const-string v0, "background"
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/graphics/Bitmap;
|
|
|
|
iput-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mBackground:Landroid/graphics/Bitmap;
|
|
|
|
const-string v0, "contentIcon"
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentIcon:I
|
|
|
|
const-string v0, "contentIconGravity"
|
|
|
|
invoke-virtual {p1, v0, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentIconGravity:I
|
|
|
|
const-string v0, "contentActionIndex"
|
|
|
|
invoke-virtual {p1, v0, v2}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentActionIndex:I
|
|
|
|
const-string v0, "customSizePreset"
|
|
|
|
invoke-virtual {p1, v0, v3}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mCustomSizePreset:I
|
|
|
|
const-string v0, "customContentHeight"
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mCustomContentHeight:I
|
|
|
|
const-string v0, "gravity"
|
|
|
|
invoke-virtual {p1, v0, v4}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mGravity:I
|
|
|
|
const-string v0, "hintScreenTimeout"
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mHintScreenTimeout:I
|
|
|
|
const-string v0, "dismissalId"
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mDismissalId:Ljava/lang/String;
|
|
|
|
const-string v0, "bridgeTag"
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mBridgeTag:Ljava/lang/String;
|
|
|
|
:cond_6
|
|
return-void
|
|
.end method
|
|
|
|
.method private static getActionFromActionCompat(Landroidx/core/app/NotificationCompat$Action;)Landroid/app/Notification$Action;
|
|
.locals 4
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x14
|
|
.end annotation
|
|
|
|
new-instance v0, Landroid/app/Notification$Action$Builder;
|
|
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$Action;->getIcon()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$Action;->getTitle()Ljava/lang/CharSequence;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$Action;->getActionIntent()Landroid/app/PendingIntent;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-direct {v0, v1, v2, v3}, Landroid/app/Notification$Action$Builder;-><init>(ILjava/lang/CharSequence;Landroid/app/PendingIntent;)V
|
|
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$Action;->getExtras()Landroid/os/Bundle;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
new-instance v1, Landroid/os/Bundle;
|
|
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$Action;->getExtras()Landroid/os/Bundle;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {v1, v2}, Landroid/os/Bundle;-><init>(Landroid/os/Bundle;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v1, Landroid/os/Bundle;
|
|
|
|
invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
|
|
|
|
:goto_0
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$Action;->getAllowGeneratedReplies()Z
|
|
|
|
move-result v2
|
|
|
|
const-string v3, "android.support.allowGeneratedReplies"
|
|
|
|
invoke-virtual {v1, v3, v2}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
|
|
|
|
sget v2, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v3, 0x18
|
|
|
|
if-lt v2, v3, :cond_1
|
|
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$Action;->getAllowGeneratedReplies()Z
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v0, v2}, Landroid/app/Notification$Action$Builder;->setAllowGeneratedReplies(Z)Landroid/app/Notification$Action$Builder;
|
|
|
|
:cond_1
|
|
invoke-virtual {v0, v1}, Landroid/app/Notification$Action$Builder;->addExtras(Landroid/os/Bundle;)Landroid/app/Notification$Action$Builder;
|
|
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$Action;->getRemoteInputs()[Landroidx/core/app/RemoteInput;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
invoke-static {p0}, Landroidx/core/app/RemoteInput;->fromCompat([Landroidx/core/app/RemoteInput;)[Landroid/app/RemoteInput;
|
|
|
|
move-result-object p0
|
|
|
|
array-length v1, p0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_1
|
|
if-ge v2, v1, :cond_2
|
|
|
|
aget-object v3, p0, v2
|
|
|
|
invoke-virtual {v0, v3}, Landroid/app/Notification$Action$Builder;->addRemoteInput(Landroid/app/RemoteInput;)Landroid/app/Notification$Action$Builder;
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
invoke-virtual {v0}, Landroid/app/Notification$Action$Builder;->build()Landroid/app/Notification$Action;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private setFlag(IZ)V
|
|
.locals 0
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
iget p2, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
or-int/2addr p1, p2
|
|
|
|
iput p1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget p2, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
xor-int/lit8 p1, p1, -0x1
|
|
|
|
and-int/2addr p1, p2
|
|
|
|
iput p1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final addAction(Landroidx/core/app/NotificationCompat$Action;)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mActions:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final addActions(Ljava/util/List;)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"Landroidx/core/app/NotificationCompat$Action;",
|
|
">;)",
|
|
"Landroidx/core/app/NotificationCompat$WearableExtender;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mActions:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final addPage(Landroid/app/Notification;)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mPages:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final addPages(Ljava/util/List;)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"Landroid/app/Notification;",
|
|
">;)",
|
|
"Landroidx/core/app/NotificationCompat$WearableExtender;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mPages:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final clearActions()Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mActions:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final clearPages()Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mPages:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final clone()Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 3
|
|
|
|
new-instance v0, Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
|
|
invoke-direct {v0}, Landroidx/core/app/NotificationCompat$WearableExtender;-><init>()V
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
iget-object v2, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mActions:Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
iput-object v1, v0, Landroidx/core/app/NotificationCompat$WearableExtender;->mActions:Ljava/util/ArrayList;
|
|
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
iput v1, v0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mDisplayIntent:Landroid/app/PendingIntent;
|
|
|
|
iput-object v1, v0, Landroidx/core/app/NotificationCompat$WearableExtender;->mDisplayIntent:Landroid/app/PendingIntent;
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
iget-object v2, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mPages:Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
iput-object v1, v0, Landroidx/core/app/NotificationCompat$WearableExtender;->mPages:Ljava/util/ArrayList;
|
|
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mBackground:Landroid/graphics/Bitmap;
|
|
|
|
iput-object v1, v0, Landroidx/core/app/NotificationCompat$WearableExtender;->mBackground:Landroid/graphics/Bitmap;
|
|
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentIcon:I
|
|
|
|
iput v1, v0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentIcon:I
|
|
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentIconGravity:I
|
|
|
|
iput v1, v0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentIconGravity:I
|
|
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentActionIndex:I
|
|
|
|
iput v1, v0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentActionIndex:I
|
|
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mCustomSizePreset:I
|
|
|
|
iput v1, v0, Landroidx/core/app/NotificationCompat$WearableExtender;->mCustomSizePreset:I
|
|
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mCustomContentHeight:I
|
|
|
|
iput v1, v0, Landroidx/core/app/NotificationCompat$WearableExtender;->mCustomContentHeight:I
|
|
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mGravity:I
|
|
|
|
iput v1, v0, Landroidx/core/app/NotificationCompat$WearableExtender;->mGravity:I
|
|
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mHintScreenTimeout:I
|
|
|
|
iput v1, v0, Landroidx/core/app/NotificationCompat$WearableExtender;->mHintScreenTimeout:I
|
|
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mDismissalId:Ljava/lang/String;
|
|
|
|
iput-object v1, v0, Landroidx/core/app/NotificationCompat$WearableExtender;->mDismissalId:Ljava/lang/String;
|
|
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mBridgeTag:Ljava/lang/String;
|
|
|
|
iput-object v1, v0, Landroidx/core/app/NotificationCompat$WearableExtender;->mBridgeTag:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final bridge synthetic clone()Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/CloneNotSupportedException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$WearableExtender;->clone()Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final extend(Landroidx/core/app/NotificationCompat$Builder;)Landroidx/core/app/NotificationCompat$Builder;
|
|
.locals 8
|
|
|
|
new-instance v0, Landroid/os/Bundle;
|
|
|
|
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
|
|
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mActions:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_4
|
|
|
|
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const-string v2, "actions"
|
|
|
|
const/16 v3, 0x10
|
|
|
|
if-lt v1, v3, :cond_3
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
iget-object v4, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mActions:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v4}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v4
|
|
|
|
invoke-direct {v1, v4}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
iget-object v4, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mActions:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v4}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v4
|
|
|
|
:cond_0
|
|
:goto_0
|
|
invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_2
|
|
|
|
invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Landroidx/core/app/NotificationCompat$Action;
|
|
|
|
sget v6, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v7, 0x14
|
|
|
|
if-lt v6, v7, :cond_1
|
|
|
|
invoke-static {v5}, Landroidx/core/app/NotificationCompat$WearableExtender;->getActionFromActionCompat(Landroidx/core/app/NotificationCompat$Action;)Landroid/app/Notification$Action;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-virtual {v1, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
sget v6, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
if-lt v6, v3, :cond_0
|
|
|
|
invoke-static {v5}, Landroidx/core/app/NotificationCompatJellybean;->getBundleForAction(Landroidx/core/app/NotificationCompat$Action;)Landroid/os/Bundle;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-virtual {v1, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putParcelableArrayList(Ljava/lang/String;Ljava/util/ArrayList;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putParcelableArrayList(Ljava/lang/String;Ljava/util/ArrayList;)V
|
|
|
|
:cond_4
|
|
:goto_1
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eq v1, v2, :cond_5
|
|
|
|
const-string v2, "flags"
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
:cond_5
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mDisplayIntent:Landroid/app/PendingIntent;
|
|
|
|
if-eqz v1, :cond_6
|
|
|
|
const-string v2, "displayIntent"
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V
|
|
|
|
:cond_6
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mPages:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_7
|
|
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mPages:Ljava/util/ArrayList;
|
|
|
|
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
|
|
|
|
move-result v2
|
|
|
|
new-array v2, v2, [Landroid/app/Notification;
|
|
|
|
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, [Landroid/os/Parcelable;
|
|
|
|
const-string v2, "pages"
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putParcelableArray(Ljava/lang/String;[Landroid/os/Parcelable;)V
|
|
|
|
:cond_7
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mBackground:Landroid/graphics/Bitmap;
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
const-string v2, "background"
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V
|
|
|
|
:cond_8
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentIcon:I
|
|
|
|
if-eqz v1, :cond_9
|
|
|
|
const-string v2, "contentIcon"
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
:cond_9
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentIconGravity:I
|
|
|
|
const v2, 0x800005
|
|
|
|
if-eq v1, v2, :cond_a
|
|
|
|
const-string v2, "contentIconGravity"
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
:cond_a
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentActionIndex:I
|
|
|
|
const/4 v2, -0x1
|
|
|
|
if-eq v1, v2, :cond_b
|
|
|
|
const-string v2, "contentActionIndex"
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
:cond_b
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mCustomSizePreset:I
|
|
|
|
if-eqz v1, :cond_c
|
|
|
|
const-string v2, "customSizePreset"
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
:cond_c
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mCustomContentHeight:I
|
|
|
|
if-eqz v1, :cond_d
|
|
|
|
const-string v2, "customContentHeight"
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
:cond_d
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mGravity:I
|
|
|
|
const/16 v2, 0x50
|
|
|
|
if-eq v1, v2, :cond_e
|
|
|
|
const-string v2, "gravity"
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
:cond_e
|
|
iget v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mHintScreenTimeout:I
|
|
|
|
if-eqz v1, :cond_f
|
|
|
|
const-string v2, "hintScreenTimeout"
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
:cond_f
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mDismissalId:Ljava/lang/String;
|
|
|
|
if-eqz v1, :cond_10
|
|
|
|
const-string v2, "dismissalId"
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:cond_10
|
|
iget-object v1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mBridgeTag:Ljava/lang/String;
|
|
|
|
if-eqz v1, :cond_11
|
|
|
|
const-string v2, "bridgeTag"
|
|
|
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:cond_11
|
|
invoke-virtual {p1}, Landroidx/core/app/NotificationCompat$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 final getActions()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Landroidx/core/app/NotificationCompat$Action;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mActions:Ljava/util/ArrayList;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getBackground()Landroid/graphics/Bitmap;
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mBackground:Landroid/graphics/Bitmap;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getBridgeTag()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mBridgeTag:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getContentAction()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentActionIndex:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getContentIcon()I
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentIcon:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getContentIconGravity()I
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentIconGravity:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getContentIntentAvailableOffline()Z
|
|
.locals 2
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
const/4 v1, 0x1
|
|
|
|
and-int/2addr v0, v1
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getCustomContentHeight()I
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mCustomContentHeight:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getCustomSizePreset()I
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mCustomSizePreset:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getDismissalId()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mDismissalId:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getDisplayIntent()Landroid/app/PendingIntent;
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mDisplayIntent:Landroid/app/PendingIntent;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getGravity()I
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mGravity:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getHintAmbientBigPicture()Z
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
and-int/lit8 v0, v0, 0x20
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getHintAvoidBackgroundClipping()Z
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
and-int/lit8 v0, v0, 0x10
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getHintContentIntentLaunchesActivity()Z
|
|
.locals 1
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
and-int/lit8 v0, v0, 0x40
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getHintHideIcon()Z
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
and-int/lit8 v0, v0, 0x2
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getHintScreenTimeout()I
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mHintScreenTimeout:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getHintShowBackgroundOnly()Z
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
and-int/lit8 v0, v0, 0x4
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getPages()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Landroid/app/Notification;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mPages:Ljava/util/ArrayList;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getStartScrollBottom()Z
|
|
.locals 1
|
|
|
|
iget v0, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mFlags:I
|
|
|
|
and-int/lit8 v0, v0, 0x8
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final setBackground(Landroid/graphics/Bitmap;)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mBackground:Landroid/graphics/Bitmap;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setBridgeTag(Ljava/lang/String;)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mBridgeTag:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setContentAction(I)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 0
|
|
|
|
iput p1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentActionIndex:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setContentIcon(I)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iput p1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentIcon:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setContentIconGravity(I)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iput p1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mContentIconGravity:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setContentIntentAvailableOffline(Z)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-direct {p0, v0, p1}, Landroidx/core/app/NotificationCompat$WearableExtender;->setFlag(IZ)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setCustomContentHeight(I)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iput p1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mCustomContentHeight:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setCustomSizePreset(I)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iput p1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mCustomSizePreset:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setDismissalId(Ljava/lang/String;)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mDismissalId:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setDisplayIntent(Landroid/app/PendingIntent;)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mDisplayIntent:Landroid/app/PendingIntent;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setGravity(I)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iput p1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mGravity:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setHintAmbientBigPicture(Z)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
const/16 v0, 0x20
|
|
|
|
invoke-direct {p0, v0, p1}, Landroidx/core/app/NotificationCompat$WearableExtender;->setFlag(IZ)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setHintAvoidBackgroundClipping(Z)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
const/16 v0, 0x10
|
|
|
|
invoke-direct {p0, v0, p1}, Landroidx/core/app/NotificationCompat$WearableExtender;->setFlag(IZ)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setHintContentIntentLaunchesActivity(Z)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 1
|
|
|
|
const/16 v0, 0x40
|
|
|
|
invoke-direct {p0, v0, p1}, Landroidx/core/app/NotificationCompat$WearableExtender;->setFlag(IZ)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setHintHideIcon(Z)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x2
|
|
|
|
invoke-direct {p0, v0, p1}, Landroidx/core/app/NotificationCompat$WearableExtender;->setFlag(IZ)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setHintScreenTimeout(I)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iput p1, p0, Landroidx/core/app/NotificationCompat$WearableExtender;->mHintScreenTimeout:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setHintShowBackgroundOnly(Z)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x4
|
|
|
|
invoke-direct {p0, v0, p1}, Landroidx/core/app/NotificationCompat$WearableExtender;->setFlag(IZ)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final setStartScrollBottom(Z)Landroidx/core/app/NotificationCompat$WearableExtender;
|
|
.locals 1
|
|
|
|
const/16 v0, 0x8
|
|
|
|
invoke-direct {p0, v0, p1}, Landroidx/core/app/NotificationCompat$WearableExtender;->setFlag(IZ)V
|
|
|
|
return-object p0
|
|
.end method
|