.class public final Landroidx/core/app/NotificationCompat$BubbleMetadata; .super Ljava/lang/Object; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/core/app/NotificationCompat; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "BubbleMetadata" .end annotation .annotation system Ldalvik/annotation/MemberClasses; value = { Landroidx/core/app/NotificationCompat$BubbleMetadata$Api30Impl;, Landroidx/core/app/NotificationCompat$BubbleMetadata$Api29Impl;, Landroidx/core/app/NotificationCompat$BubbleMetadata$Builder; } .end annotation # static fields .field private static final FLAG_AUTO_EXPAND_BUBBLE:I = 0x1 .field private static final FLAG_SUPPRESS_NOTIFICATION:I = 0x2 # instance fields .field private mDeleteIntent:Landroid/app/PendingIntent; .field private mDesiredHeight:I .field private mDesiredHeightResId:I .annotation build Landroidx/annotation/DimenRes; .end annotation .end field .field private mFlags:I .field private mIcon:Landroidx/core/graphics/drawable/IconCompat; .field private mPendingIntent:Landroid/app/PendingIntent; .field private mShortcutId:Ljava/lang/String; # direct methods .method private constructor (Landroid/app/PendingIntent;Landroid/app/PendingIntent;Landroidx/core/graphics/drawable/IconCompat;IIILjava/lang/String;)V .locals 0 .param p1 # Landroid/app/PendingIntent; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p2 # Landroid/app/PendingIntent; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p3 # Landroidx/core/graphics/drawable/IconCompat; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p5 # I .annotation build Landroidx/annotation/DimenRes; .end annotation .end param .param p7 # Ljava/lang/String; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .line 8406 invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Landroidx/core/app/NotificationCompat$BubbleMetadata;->mPendingIntent:Landroid/app/PendingIntent; iput-object p3, p0, Landroidx/core/app/NotificationCompat$BubbleMetadata;->mIcon:Landroidx/core/graphics/drawable/IconCompat; iput p4, p0, Landroidx/core/app/NotificationCompat$BubbleMetadata;->mDesiredHeight:I iput p5, p0, Landroidx/core/app/NotificationCompat$BubbleMetadata;->mDesiredHeightResId:I iput-object p2, p0, Landroidx/core/app/NotificationCompat$BubbleMetadata;->mDeleteIntent:Landroid/app/PendingIntent; iput p6, p0, Landroidx/core/app/NotificationCompat$BubbleMetadata;->mFlags:I iput-object p7, p0, Landroidx/core/app/NotificationCompat$BubbleMetadata;->mShortcutId:Ljava/lang/String; return-void .end method .method public synthetic constructor (Landroid/app/PendingIntent;Landroid/app/PendingIntent;Landroidx/core/graphics/drawable/IconCompat;IIILjava/lang/String;Landroidx/core/app/NotificationCompat$1;)V .locals 0 .line 8361 invoke-direct/range {p0 .. p7}, Landroidx/core/app/NotificationCompat$BubbleMetadata;->(Landroid/app/PendingIntent;Landroid/app/PendingIntent;Landroidx/core/graphics/drawable/IconCompat;IIILjava/lang/String;)V return-void .end method .method public static fromPlatform(Landroid/app/Notification$BubbleMetadata;)Landroidx/core/app/NotificationCompat$BubbleMetadata; .locals 3 .param p0 # Landroid/app/Notification$BubbleMetadata; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/Nullable; .end annotation const/4 v0, 0x0 if-nez p0, :cond_0 return-object v0 :cond_0 sget v1, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v2, 0x1e if-lt v1, v2, :cond_1 .line 8532 invoke-static {p0}, Landroidx/core/app/NotificationCompat$BubbleMetadata$Api30Impl;->fromPlatform(Landroid/app/Notification$BubbleMetadata;)Landroidx/core/app/NotificationCompat$BubbleMetadata; move-result-object p0 return-object p0 :cond_1 const/16 v2, 0x1d if-ne v1, v2, :cond_2 .line 8534 invoke-static {p0}, Landroidx/core/app/NotificationCompat$BubbleMetadata$Api29Impl;->fromPlatform(Landroid/app/Notification$BubbleMetadata;)Landroidx/core/app/NotificationCompat$BubbleMetadata; move-result-object p0 return-object p0 :cond_2 return-object v0 .end method .method public static toPlatform(Landroidx/core/app/NotificationCompat$BubbleMetadata;)Landroid/app/Notification$BubbleMetadata; .locals 3 .param p0 # Landroidx/core/app/NotificationCompat$BubbleMetadata; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/Nullable; .end annotation const/4 v0, 0x0 if-nez p0, :cond_0 return-object v0 :cond_0 sget v1, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v2, 0x1e if-lt v1, v2, :cond_1 .line 8511 invoke-static {p0}, Landroidx/core/app/NotificationCompat$BubbleMetadata$Api30Impl;->toPlatform(Landroidx/core/app/NotificationCompat$BubbleMetadata;)Landroid/app/Notification$BubbleMetadata; move-result-object p0 return-object p0 :cond_1 const/16 v2, 0x1d if-ne v1, v2, :cond_2 .line 8513 invoke-static {p0}, Landroidx/core/app/NotificationCompat$BubbleMetadata$Api29Impl;->toPlatform(Landroidx/core/app/NotificationCompat$BubbleMetadata;)Landroid/app/Notification$BubbleMetadata; move-result-object p0 return-object p0 :cond_2 return-object v0 .end method # virtual methods .method public getAutoExpandBubble()Z .locals 2 iget v0, p0, Landroidx/core/app/NotificationCompat$BubbleMetadata;->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 getDeleteIntent()Landroid/app/PendingIntent; .locals 1 .annotation build Landroidx/annotation/Nullable; .end annotation iget-object v0, p0, Landroidx/core/app/NotificationCompat$BubbleMetadata;->mDeleteIntent:Landroid/app/PendingIntent; return-object v0 .end method .method public getDesiredHeight()I .locals 1 .annotation build Landroidx/annotation/Dimension; unit = 0x0 .end annotation iget v0, p0, Landroidx/core/app/NotificationCompat$BubbleMetadata;->mDesiredHeight:I return v0 .end method .method public getDesiredHeightResId()I .locals 1 .annotation build Landroidx/annotation/DimenRes; .end annotation iget v0, p0, Landroidx/core/app/NotificationCompat$BubbleMetadata;->mDesiredHeightResId:I return v0 .end method .method public getIcon()Landroidx/core/graphics/drawable/IconCompat; .locals 1 .annotation build Landroid/annotation/SuppressLint; value = { "InvalidNullConversion" } .end annotation .annotation build Landroidx/annotation/Nullable; .end annotation iget-object v0, p0, Landroidx/core/app/NotificationCompat$BubbleMetadata;->mIcon:Landroidx/core/graphics/drawable/IconCompat; return-object v0 .end method .method public getIntent()Landroid/app/PendingIntent; .locals 1 .annotation build Landroid/annotation/SuppressLint; value = { "InvalidNullConversion" } .end annotation .annotation build Landroidx/annotation/Nullable; .end annotation iget-object v0, p0, Landroidx/core/app/NotificationCompat$BubbleMetadata;->mPendingIntent:Landroid/app/PendingIntent; return-object v0 .end method .method public getShortcutId()Ljava/lang/String; .locals 1 .annotation build Landroidx/annotation/Nullable; .end annotation iget-object v0, p0, Landroidx/core/app/NotificationCompat$BubbleMetadata;->mShortcutId:Ljava/lang/String; return-object v0 .end method .method public isNotificationSuppressed()Z .locals 1 iget v0, p0, Landroidx/core/app/NotificationCompat$BubbleMetadata;->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 setFlags(I)V .locals 0 .annotation build Landroidx/annotation/RestrictTo; value = { .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope; } .end annotation iput p1, p0, Landroidx/core/app/NotificationCompat$BubbleMetadata;->mFlags:I return-void .end method