granularity level: instruction
.class public Landroidx/core/app/NotificationCompat$Builder;
.super Ljava/lang/Object;
.source "NotificationCompat.java"
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/app/NotificationCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Builder"
.end annotation
.field private static final MAX_CHARSEQUENCE_LENGTH:I = 0x1400
.field public mActions:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Landroidx/core/app/NotificationCompat$Action;",
">;"
}
.end annotation
.end field
.field mAllowSystemGeneratedContextualActions:Z
.field mBadgeIcon:I
.field mBigContentView:Landroid/widget/RemoteViews;
.field mBubbleMetadata:Landroidx/core/app/NotificationCompat$BubbleMetadata;
.field mCategory:Ljava/lang/String;
.field mChannelId:Ljava/lang/String;
.field mChronometerCountDown:Z
.field mColor:I
.field mColorized:Z
.field mColorizedSet:Z
.field mContentInfo:Ljava/lang/CharSequence;
.field mContentIntent:Landroid/app/PendingIntent;
.field mContentText:Ljava/lang/CharSequence;
.field mContentTitle:Ljava/lang/CharSequence;
.field mContentView:Landroid/widget/RemoteViews;
.field public mContext:Landroid/content/Context;
.field mExtras:Landroid/os/Bundle;
.field mFullScreenIntent:Landroid/app/PendingIntent;
.field mGroupAlertBehavior:I
.field mGroupKey:Ljava/lang/String;
.field mGroupSummary:Z
.field mHeadsUpContentView:Landroid/widget/RemoteViews;
.field mInvisibleActions:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Landroidx/core/app/NotificationCompat$Action;",
">;"
}
.end annotation
.end field
.field mLargeIcon:Landroid/graphics/Bitmap;
.field mLocalOnly:Z
.field mNotification:Landroid/app/Notification;
.field mNumber:I
.field public mPeople:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Ljava/lang/String;",
">;"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
.field mPriority:I
.field mProgress:I
.field mProgressIndeterminate:Z
.field mProgressMax:I
.field mPublicVersion:Landroid/app/Notification;
.field mRemoteInputHistory:[Ljava/lang/CharSequence;
.field mShortcutId:Ljava/lang/String;
.field mShowWhen:Z
.field mSortKey:Ljava/lang/String;
.field mStyle:Landroidx/core/app/NotificationCompat$Style;
.field mSubText:Ljava/lang/CharSequence;
.field mTickerView:Landroid/widget/RemoteViews;
.field mTimeout:J
.field mUseChronometer:Z
.field mVisibility:I
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
.annotation runtime Ljava/lang/Deprecated;
.end annotation
invoke-direct/range {p0 .. p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;)V
.locals 3
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$Builder;->mActions:Ljava/util/ArrayList;
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Landroidx/core/app/NotificationCompat$Builder;->mInvisibleActions:Ljava/util/ArrayList;
const/4 v0, 0x1
iput-boolean v0, p0, Landroidx/core/app/NotificationCompat$Builder;->mShowWhen:Z
const/4 v1, 0x0
iput-boolean v1, p0, Landroidx/core/app/NotificationCompat$Builder;->mLocalOnly:Z
iput v1, p0, Landroidx/core/app/NotificationCompat$Builder;->mColor:I
iput v1, p0, Landroidx/core/app/NotificationCompat$Builder;->mVisibility:I
iput v1, p0, Landroidx/core/app/NotificationCompat$Builder;->mBadgeIcon:I
iput v1, p0, Landroidx/core/app/NotificationCompat$Builder;->mGroupAlertBehavior:I
new-instance v2, Landroid/app/Notification;
invoke-direct {v2}, Landroid/app/Notification;-><init>()V
iput-object v2, p0, Landroidx/core/app/NotificationCompat$Builder;->mNotification:Landroid/app/Notification;
iput-object p1, p0, Landroidx/core/app/NotificationCompat$Builder;->mContext:Landroid/content/Context;
iput-object p2, p0, Landroidx/core/app/NotificationCompat$Builder;->mChannelId:Ljava/lang/String;
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide p1
iput-wide p1, v2, Landroid/app/Notification;->when:J
iget-object p1, p0, Landroidx/core/app/NotificationCompat$Builder;->mNotification:Landroid/app/Notification;
const/4 p2, -0x1
iput p2, p1, Landroid/app/Notification;->audioStreamType:I
iput v1, p0, Landroidx/core/app/NotificationCompat$Builder;->mPriority:I
new-instance p1, Ljava/util/ArrayList;
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
iput-object p1, p0, Landroidx/core/app/NotificationCompat$Builder;->mPeople:Ljava/util/ArrayList;
iput-boolean v0, p0, Landroidx/core/app/NotificationCompat$Builder;->mAllowSystemGeneratedContextualActions:Z
return-void
.end method
.method protected static limitCharSequenceLength(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
.locals 2
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result v0
const/16 v1, 0x1400
return-object p0
.end method
.method private reduceLargeIconSize(Landroid/graphics/Bitmap;)Landroid/graphics/Bitmap;
.locals 9
const/4 v0, 0x0
return-object v0
.end method
.method private setFlag(IZ)V
.locals 1
iget-object p2, p0, Landroidx/core/app/NotificationCompat$Builder;->mNotification:Landroid/app/Notification;
iget v0, p2, Landroid/app/Notification;->flags:I
or-int/2addr p1, v0
iput p1, p2, Landroid/app/Notification;->flags:I
return-void
.end method
.method public addAction(ILjava/lang/CharSequence;Landroid/app/PendingIntent;)Landroidx/core/app/NotificationCompat$Builder;
.locals 2
const/4 v0, 0x0
return-object v0
.end method
.method public addAction(Landroidx/core/app/NotificationCompat$Action;)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public addExtras(Landroid/os/Bundle;)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public addInvisibleAction(ILjava/lang/CharSequence;Landroid/app/PendingIntent;)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public addInvisibleAction(Landroidx/core/app/NotificationCompat$Action;)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public addPerson(Ljava/lang/String;)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public build()Landroid/app/Notification;
.locals 1
new-instance v0, Landroidx/core/app/NotificationCompatBuilder;
invoke-direct {v0, p0}, Landroidx/core/app/NotificationCompatBuilder;-><init>(Landroidx/core/app/NotificationCompat$Builder;)V
invoke-virtual {v0}, Landroidx/core/app/NotificationCompatBuilder;->build()Landroid/app/Notification;
move-result-object v0
return-object v0
.end method
.method public extend(Landroidx/core/app/NotificationCompat$Extender;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public getBigContentView()Landroid/widget/RemoteViews;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public getBubbleMetadata()Landroidx/core/app/NotificationCompat$BubbleMetadata;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public getColor()I
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public getContentView()Landroid/widget/RemoteViews;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public getExtras()Landroid/os/Bundle;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public getHeadsUpContentView()Landroid/widget/RemoteViews;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public getNotification()Landroid/app/Notification;
.locals 1
.annotation runtime Ljava/lang/Deprecated;
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public getPriority()I
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public getWhenIfShowing()J
.locals 2
const-wide v0, 0x0
return-wide v0
.end method
.method public setAllowSystemGeneratedContextualActions(Z)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setAutoCancel(Z)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
const/16 v0, 0x10
invoke-direct {p0, v0, p1}, Landroidx/core/app/NotificationCompat$Builder;->setFlag(IZ)V
return-object p0
.end method
.method public setBadgeIconType(I)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setBubbleMetadata(Landroidx/core/app/NotificationCompat$BubbleMetadata;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setCategory(Ljava/lang/String;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setChannelId(Ljava/lang/String;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setChronometerCountDown(Z)Landroidx/core/app/NotificationCompat$Builder;
.locals 2
const/4 v0, 0x0
return-object v0
.end method
.method public setColor(I)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setColorized(Z)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setContent(Landroid/widget/RemoteViews;)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public setContentInfo(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setContentIntent(Landroid/app/PendingIntent;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
iput-object p1, p0, Landroidx/core/app/NotificationCompat$Builder;->mContentIntent:Landroid/app/PendingIntent;
return-object p0
.end method
.method public setContentText(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
invoke-static {p1}, Landroidx/core/app/NotificationCompat$Builder;->limitCharSequenceLength(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
move-result-object p1
iput-object p1, p0, Landroidx/core/app/NotificationCompat$Builder;->mContentText:Ljava/lang/CharSequence;
return-object p0
.end method
.method public setContentTitle(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
invoke-static {p1}, Landroidx/core/app/NotificationCompat$Builder;->limitCharSequenceLength(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
move-result-object p1
iput-object p1, p0, Landroidx/core/app/NotificationCompat$Builder;->mContentTitle:Ljava/lang/CharSequence;
return-object p0
.end method
.method public setCustomBigContentView(Landroid/widget/RemoteViews;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setCustomContentView(Landroid/widget/RemoteViews;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setCustomHeadsUpContentView(Landroid/widget/RemoteViews;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setDefaults(I)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
iget-object v0, p0, Landroidx/core/app/NotificationCompat$Builder;->mNotification:Landroid/app/Notification;
iput p1, v0, Landroid/app/Notification;->defaults:I
and-int/lit8 p1, p1, 0x4
return-object p0
.end method
.method public setDeleteIntent(Landroid/app/PendingIntent;)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
iget-object v0, p0, Landroidx/core/app/NotificationCompat$Builder;->mNotification:Landroid/app/Notification;
iput-object p1, v0, Landroid/app/Notification;->deleteIntent:Landroid/app/PendingIntent;
return-object p0
.end method
.method public setExtras(Landroid/os/Bundle;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setFullScreenIntent(Landroid/app/PendingIntent;Z)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setGroup(Ljava/lang/String;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setGroupAlertBehavior(I)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setGroupSummary(Z)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setLargeIcon(Landroid/graphics/Bitmap;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setLights(III)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public setLocalOnly(Z)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
iput-boolean p1, p0, Landroidx/core/app/NotificationCompat$Builder;->mLocalOnly:Z
return-object p0
.end method
.method public setNumber(I)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setOngoing(Z)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public setOnlyAlertOnce(Z)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public setPriority(I)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setProgress(IIZ)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setPublicVersion(Landroid/app/Notification;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setRemoteInputHistory([Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setShortcutId(Ljava/lang/String;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setShowWhen(Z)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setSmallIcon(I)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
iget-object v0, p0, Landroidx/core/app/NotificationCompat$Builder;->mNotification:Landroid/app/Notification;
iput p1, v0, Landroid/app/Notification;->icon:I
return-object p0
.end method
.method public setSmallIcon(II)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public setSortKey(Ljava/lang/String;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setSound(Landroid/net/Uri;)Landroidx/core/app/NotificationCompat$Builder;
.locals 2
const/4 v0, 0x0
return-object v0
.end method
.method public setSound(Landroid/net/Uri;I)Landroidx/core/app/NotificationCompat$Builder;
.locals 2
const/4 v0, 0x0
return-object v0
.end method
.method public setStyle(Landroidx/core/app/NotificationCompat$Style;)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
iget-object v0, p0, Landroidx/core/app/NotificationCompat$Builder;->mStyle:Landroidx/core/app/NotificationCompat$Style;
if-eq v0, p1, :cond_0
iput-object p1, p0, Landroidx/core/app/NotificationCompat$Builder;->mStyle:Landroidx/core/app/NotificationCompat$Style;
if-eqz p1, :cond_0
invoke-virtual {p1, p0}, Landroidx/core/app/NotificationCompat$Style;->setBuilder(Landroidx/core/app/NotificationCompat$Builder;)V
:cond_0
return-object p0
.end method
.method public setSubText(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setTicker(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public setTicker(Ljava/lang/CharSequence;Landroid/widget/RemoteViews;)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public setTimeoutAfter(J)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setUsesChronometer(Z)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setVibrate([J)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public setVisibility(I)Landroidx/core/app/NotificationCompat$Builder;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public setWhen(J)Landroidx/core/app/NotificationCompat$Builder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method