granularity level: instruction
.class public final Lc/h;
.super Ljava/lang/Object;
.source "SourceFile"
.field public final a:Landroid/app/Notification$Builder;
.field public final b:Lc/d;
.field public final c:Landroid/os/Bundle;
.method public constructor <init>(Lc/d;)V
.locals 19
move-object/from16 v0, p0
move-object/from16 v1, p1
invoke-direct/range {p0 .. p0}, Ljava/lang/Object;-><init>()V
new-instance v2, Ljava/util/ArrayList;
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
new-instance v2, Landroid/os/Bundle;
invoke-direct {v2}, Landroid/os/Bundle;-><init>()V
iput-object v2, v0, Lc/h;->c:Landroid/os/Bundle;
iput-object v1, v0, Lc/h;->b:Lc/d;
sget v2, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v3, 0x1a
if-lt v2, v3, :cond_0
new-instance v2, Landroid/app/Notification$Builder;
iget-object v4, v1, Lc/d;->a:Landroid/content/Context;
iget-object v5, v1, Lc/d;->p:Ljava/lang/String;
invoke-direct {v2, v4, v5}, Landroid/app/Notification$Builder;-><init>(Landroid/content/Context;Ljava/lang/String;)V
goto :goto_0
:cond_0
new-instance v2, Landroid/app/Notification$Builder;
iget-object v4, v1, Lc/d;->a:Landroid/content/Context;
invoke-direct {v2, v4}, Landroid/app/Notification$Builder;-><init>(Landroid/content/Context;)V
:goto_0
iput-object v2, v0, Lc/h;->a:Landroid/app/Notification$Builder;
iget-object v4, v1, Lc/d;->r:Landroid/app/Notification;
iget-wide v5, v4, Landroid/app/Notification;->when:J
invoke-virtual {v2, v5, v6}, Landroid/app/Notification$Builder;->setWhen(J)Landroid/app/Notification$Builder;
move-result-object v5
iget v6, v4, Landroid/app/Notification;->icon:I
iget v7, v4, Landroid/app/Notification;->iconLevel:I
invoke-virtual {v5, v6, v7}, Landroid/app/Notification$Builder;->setSmallIcon(II)Landroid/app/Notification$Builder;
move-result-object v5
iget-object v6, v4, Landroid/app/Notification;->contentView:Landroid/widget/RemoteViews;
invoke-virtual {v5, v6}, Landroid/app/Notification$Builder;->setContent(Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;
move-result-object v5
iget-object v6, v4, Landroid/app/Notification;->tickerText:Ljava/lang/CharSequence;
const/4 v7, 0x0
invoke-virtual {v5, v6, v7}, Landroid/app/Notification$Builder;->setTicker(Ljava/lang/CharSequence;Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;
move-result-object v5
iget-object v6, v4, Landroid/app/Notification;->vibrate:[J
invoke-virtual {v5, v6}, Landroid/app/Notification$Builder;->setVibrate([J)Landroid/app/Notification$Builder;
move-result-object v5
iget v6, v4, Landroid/app/Notification;->ledARGB:I
iget v8, v4, Landroid/app/Notification;->ledOnMS:I
iget v9, v4, Landroid/app/Notification;->ledOffMS:I
invoke-virtual {v5, v6, v8, v9}, Landroid/app/Notification$Builder;->setLights(III)Landroid/app/Notification$Builder;
move-result-object v5
iget v6, v4, Landroid/app/Notification;->flags:I
const/4 v8, 0x2
and-int/2addr v6, v8
const/4 v9, 0x0
const/4 v10, 0x1
if-eqz v6, :cond_1
const/4 v6, 0x1
goto :goto_1
:cond_1
const/4 v6, 0x0
:goto_1
invoke-virtual {v5, v6}, Landroid/app/Notification$Builder;->setOngoing(Z)Landroid/app/Notification$Builder;
move-result-object v5
iget v6, v4, Landroid/app/Notification;->flags:I
and-int/lit8 v6, v6, 0x8
if-eqz v6, :cond_2
const/4 v6, 0x1
goto :goto_2
:cond_2
const/4 v6, 0x0
:goto_2
invoke-virtual {v5, v6}, Landroid/app/Notification$Builder;->setOnlyAlertOnce(Z)Landroid/app/Notification$Builder;
move-result-object v5
iget v6, v4, Landroid/app/Notification;->flags:I
and-int/lit8 v6, v6, 0x10
if-eqz v6, :cond_3
const/4 v6, 0x1
goto :goto_3
:cond_3
const/4 v6, 0x0
:goto_3
invoke-virtual {v5, v6}, Landroid/app/Notification$Builder;->setAutoCancel(Z)Landroid/app/Notification$Builder;
move-result-object v5
iget v6, v4, Landroid/app/Notification;->defaults:I
invoke-virtual {v5, v6}, Landroid/app/Notification$Builder;->setDefaults(I)Landroid/app/Notification$Builder;
move-result-object v5
iget-object v6, v1, Lc/d;->d:Ljava/lang/CharSequence;
invoke-virtual {v5, v6}, Landroid/app/Notification$Builder;->setContentTitle(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;
move-result-object v5
iget-object v6, v1, Lc/d;->e:Ljava/lang/CharSequence;
invoke-virtual {v5, v6}, Landroid/app/Notification$Builder;->setContentText(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;
move-result-object v5
invoke-virtual {v5, v7}, Landroid/app/Notification$Builder;->setContentInfo(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;
move-result-object v5
iget-object v6, v1, Lc/d;->f:Landroid/app/PendingIntent;
invoke-virtual {v5, v6}, Landroid/app/Notification$Builder;->setContentIntent(Landroid/app/PendingIntent;)Landroid/app/Notification$Builder;
move-result-object v5
iget-object v6, v4, Landroid/app/Notification;->deleteIntent:Landroid/app/PendingIntent;
invoke-virtual {v5, v6}, Landroid/app/Notification$Builder;->setDeleteIntent(Landroid/app/PendingIntent;)Landroid/app/Notification$Builder;
move-result-object v5
iget v6, v4, Landroid/app/Notification;->flags:I
and-int/lit16 v6, v6, 0x80
if-eqz v6, :cond_4
const/4 v6, 0x1
goto :goto_4
:cond_4
const/4 v6, 0x0
:goto_4
invoke-virtual {v5, v7, v6}, Landroid/app/Notification$Builder;->setFullScreenIntent(Landroid/app/PendingIntent;Z)Landroid/app/Notification$Builder;
move-result-object v5
iget-object v6, v1, Lc/d;->g:Landroid/graphics/Bitmap;
invoke-virtual {v5, v6}, Landroid/app/Notification$Builder;->setLargeIcon(Landroid/graphics/Bitmap;)Landroid/app/Notification$Builder;
move-result-object v5
iget v6, v1, Lc/d;->h:I
invoke-virtual {v5, v6}, Landroid/app/Notification$Builder;->setNumber(I)Landroid/app/Notification$Builder;
move-result-object v5
invoke-virtual {v5, v9, v9, v9}, Landroid/app/Notification$Builder;->setProgress(IIZ)Landroid/app/Notification$Builder;
invoke-virtual {v2, v7}, Landroid/app/Notification$Builder;->setSubText(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;
move-result-object v2
invoke-virtual {v2, v9}, Landroid/app/Notification$Builder;->setUsesChronometer(Z)Landroid/app/Notification$Builder;
move-result-object v2
iget v5, v1, Lc/d;->i:I
invoke-virtual {v2, v5}, Landroid/app/Notification$Builder;->setPriority(I)Landroid/app/Notification$Builder;
iget-object v2, v1, Lc/d;->b:Ljava/util/ArrayList;
invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v2
:goto_5
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v5
const-string v6, "android.support.allowGeneratedReplies"
if-eqz v5, :cond_15
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v5
check-cast v5, Lc/a;
sget v9, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v11, 0x17
if-lt v9, v11, :cond_10
iget-object v11, v5, Lc/a;->b:Landroidx/core/graphics/drawable/IconCompat;
if-nez v11, :cond_5
iget v11, v5, Lc/a;->e:I
if-eqz v11, :cond_5
invoke-static {v11}, Landroidx/core/graphics/drawable/IconCompat;->a(I)Landroidx/core/graphics/drawable/IconCompat;
move-result-object v11
iput-object v11, v5, Lc/a;->b:Landroidx/core/graphics/drawable/IconCompat;
:cond_5
iget-object v11, v5, Lc/a;->b:Landroidx/core/graphics/drawable/IconCompat;
new-instance v12, Landroid/app/Notification$Action$Builder;
if-nez v11, :cond_6
move-object/from16 v16, v2
move-object/from16 v17, v4
goto/16 :goto_8
:cond_6
iget v7, v11, Landroidx/core/graphics/drawable/IconCompat;->a:I
const/4 v13, -0x1
if-eq v7, v13, :cond_e
if-eq v7, v10, :cond_c
if-eq v7, v8, :cond_b
const/4 v8, 0x3
if-eq v7, v8, :cond_a
const/4 v10, 0x4
if-eq v7, v10, :cond_9
const/4 v10, 0x5
if-ne v7, v10, :cond_8
if-lt v9, v3, :cond_7
iget-object v3, v11, Landroidx/core/graphics/drawable/IconCompat;->b:Ljava/lang/Object;
check-cast v3, Landroid/graphics/Bitmap;
invoke-static {v3}, Le/a;->a(Landroid/graphics/Bitmap;)Landroid/graphics/drawable/Icon;
move-result-object v3
move-object/from16 v16, v2
move-object v7, v3
move-object/from16 v17, v4
goto/16 :goto_7
:cond_7
iget-object v3, v11, Landroidx/core/graphics/drawable/IconCompat;->b:Ljava/lang/Object;
check-cast v3, Landroid/graphics/Bitmap;
invoke-virtual {v3}, Landroid/graphics/Bitmap;->getWidth()I
move-result v7
invoke-virtual {v3}, Landroid/graphics/Bitmap;->getHeight()I
move-result v10
invoke-static {v7, v10}, Ljava/lang/Math;->min(II)I
move-result v7
int-to-float v7, v7
const v10, 0x3f2aaaab
mul-float v7, v7, v10
float-to-int v7, v7
sget-object v10, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;
invoke-static {v7, v7, v10}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;
move-result-object v10
new-instance v13, Landroid/graphics/Canvas;
invoke-direct {v13, v10}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V
new-instance v14, Landroid/graphics/Paint;
invoke-direct {v14, v8}, Landroid/graphics/Paint;-><init>(I)V
int-to-float v8, v7
const/high16 v15, 0x3f000000 # 0.5f
mul-float v8, v8, v15
const v15, 0x3f6aaaab
mul-float v15, v15, v8
move-object/from16 v16, v2
const/high16 v2, -0x1000000
invoke-virtual {v14, v2}, Landroid/graphics/Paint;->setColor(I)V
new-instance v2, Landroid/graphics/BitmapShader;
move-object/from16 v17, v4
sget-object v4, Landroid/graphics/Shader$TileMode;->CLAMP:Landroid/graphics/Shader$TileMode;
invoke-direct {v2, v3, v4, v4}, Landroid/graphics/BitmapShader;-><init>(Landroid/graphics/Bitmap;Landroid/graphics/Shader$TileMode;Landroid/graphics/Shader$TileMode;)V
new-instance v4, Landroid/graphics/Matrix;
invoke-direct {v4}, Landroid/graphics/Matrix;-><init>()V
invoke-virtual {v3}, Landroid/graphics/Bitmap;->getWidth()I
move-result v18
sub-int v1, v18, v7
neg-int v1, v1
div-int/lit8 v1, v1, 0x2
int-to-float v1, v1
invoke-virtual {v3}, Landroid/graphics/Bitmap;->getHeight()I
move-result v3
sub-int/2addr v3, v7
neg-int v3, v3
div-int/lit8 v3, v3, 0x2
int-to-float v3, v3
invoke-virtual {v4, v1, v3}, Landroid/graphics/Matrix;->setTranslate(FF)V
invoke-virtual {v2, v4}, Landroid/graphics/Shader;->setLocalMatrix(Landroid/graphics/Matrix;)V
invoke-virtual {v14, v2}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;
invoke-virtual {v13, v8, v8, v15, v14}, Landroid/graphics/Canvas;->drawCircle(FFFLandroid/graphics/Paint;)V
const/4 v1, 0x0
invoke-virtual {v13, v1}, Landroid/graphics/Canvas;->setBitmap(Landroid/graphics/Bitmap;)V
invoke-static {v10}, Landroid/graphics/drawable/Icon;->createWithBitmap(Landroid/graphics/Bitmap;)Landroid/graphics/drawable/Icon;
move-result-object v1
goto :goto_6
:cond_8
new-instance v1, Ljava/lang/IllegalArgumentException;
const-string v2, "Unknown type"
invoke-direct {v1, v2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v1
:cond_9
move-object/from16 v16, v2
move-object/from16 v17, v4
iget-object v1, v11, Landroidx/core/graphics/drawable/IconCompat;->b:Ljava/lang/Object;
check-cast v1, Ljava/lang/String;
invoke-static {v1}, Landroid/graphics/drawable/Icon;->createWithContentUri(Ljava/lang/String;)Landroid/graphics/drawable/Icon;
move-result-object v1
goto :goto_6
:cond_a
move-object/from16 v16, v2
move-object/from16 v17, v4
iget-object v1, v11, Landroidx/core/graphics/drawable/IconCompat;->b:Ljava/lang/Object;
check-cast v1, [B
iget v2, v11, Landroidx/core/graphics/drawable/IconCompat;->e:I
iget v3, v11, Landroidx/core/graphics/drawable/IconCompat;->f:I
invoke-static {v1, v2, v3}, Landroid/graphics/drawable/Icon;->createWithData([BII)Landroid/graphics/drawable/Icon;
move-result-object v1
goto :goto_6
:cond_b
move-object/from16 v16, v2
move-object/from16 v17, v4
invoke-virtual {v11}, Landroidx/core/graphics/drawable/IconCompat;->c()Ljava/lang/String;
move-result-object v1
iget v2, v11, Landroidx/core/graphics/drawable/IconCompat;->e:I
invoke-static {v1, v2}, Landroid/graphics/drawable/Icon;->createWithResource(Ljava/lang/String;I)Landroid/graphics/drawable/Icon;
move-result-object v1
goto :goto_6
:cond_c
move-object/from16 v16, v2
move-object/from16 v17, v4
iget-object v1, v11, Landroidx/core/graphics/drawable/IconCompat;->b:Ljava/lang/Object;
check-cast v1, Landroid/graphics/Bitmap;
invoke-static {v1}, Landroid/graphics/drawable/Icon;->createWithBitmap(Landroid/graphics/Bitmap;)Landroid/graphics/drawable/Icon;
move-result-object v1
:goto_6
move-object v7, v1
:goto_7
iget-object v1, v11, Landroidx/core/graphics/drawable/IconCompat;->g:Landroid/content/res/ColorStateList;
if-eqz v1, :cond_d
invoke-virtual {v7, v1}, Landroid/graphics/drawable/Icon;->setTintList(Landroid/content/res/ColorStateList;)Landroid/graphics/drawable/Icon;
:cond_d
iget-object v1, v11, Landroidx/core/graphics/drawable/IconCompat;->h:Landroid/graphics/PorterDuff$Mode;
sget-object v2, Landroidx/core/graphics/drawable/IconCompat;->j:Landroid/graphics/PorterDuff$Mode;
if-eq v1, v2, :cond_f
invoke-virtual {v7, v1}, Landroid/graphics/drawable/Icon;->setTintMode(Landroid/graphics/PorterDuff$Mode;)Landroid/graphics/drawable/Icon;
goto :goto_8
:cond_e
move-object/from16 v16, v2
move-object/from16 v17, v4
iget-object v1, v11, Landroidx/core/graphics/drawable/IconCompat;->b:Ljava/lang/Object;
move-object v7, v1
check-cast v7, Landroid/graphics/drawable/Icon;
:goto_8
:cond_f
iget-object v1, v5, Lc/a;->f:Ljava/lang/CharSequence;
iget-object v2, v5, Lc/a;->g:Landroid/app/PendingIntent;
invoke-direct {v12, v7, v1, v2}, Landroid/app/Notification$Action$Builder;-><init>(Landroid/graphics/drawable/Icon;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V
goto :goto_9
:cond_10
move-object/from16 v16, v2
move-object/from16 v17, v4
new-instance v12, Landroid/app/Notification$Action$Builder;
iget v1, v5, Lc/a;->e:I
iget-object v2, v5, Lc/a;->f:Ljava/lang/CharSequence;
iget-object v3, v5, Lc/a;->g:Landroid/app/PendingIntent;
invoke-direct {v12, v1, v2, v3}, Landroid/app/Notification$Action$Builder;-><init>(ILjava/lang/CharSequence;Landroid/app/PendingIntent;)V
:goto_9
invoke-virtual {v5}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
iget-object v1, v5, Lc/a;->a:Landroid/os/Bundle;
if-eqz v1, :cond_11
new-instance v1, Landroid/os/Bundle;
iget-object v2, v5, Lc/a;->a:Landroid/os/Bundle;
invoke-direct {v1, v2}, Landroid/os/Bundle;-><init>(Landroid/os/Bundle;)V
goto :goto_a
:cond_11
new-instance v1, Landroid/os/Bundle;
invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
:goto_a
iget-boolean v2, v5, Lc/a;->c:Z
invoke-virtual {v1, v6, v2}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
const/16 v2, 0x18
if-lt v9, v2, :cond_12
iget-boolean v2, v5, Lc/a;->c:Z
invoke-virtual {v12, v2}, Landroid/app/Notification$Action$Builder;->setAllowGeneratedReplies(Z)Landroid/app/Notification$Action$Builder;
:cond_12
const-string v2, "android.support.action.semanticAction"
const/4 v3, 0x0
invoke-virtual {v1, v2, v3}, Landroid/os/BaseBundle;->putInt(Ljava/lang/String;I)V
const/16 v2, 0x1c
if-lt v9, v2, :cond_13
invoke-static {v12, v3}, Lc/g;->c(Landroid/app/Notification$Action$Builder;I)V
:cond_13
const/16 v2, 0x1d
if-lt v9, v2, :cond_14
invoke-static {v12, v3}, Lc/f;->b(Landroid/app/Notification$Action$Builder;Z)V
:cond_14
iget-boolean v2, v5, Lc/a;->d:Z
const-string v3, "android.support.action.showsUserInterface"
invoke-virtual {v1, v3, v2}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
invoke-virtual {v12, v1}, Landroid/app/Notification$Action$Builder;->addExtras(Landroid/os/Bundle;)Landroid/app/Notification$Action$Builder;
iget-object v1, v0, Lc/h;->a:Landroid/app/Notification$Builder;
invoke-virtual {v12}, Landroid/app/Notification$Action$Builder;->build()Landroid/app/Notification$Action;
move-result-object v2
invoke-virtual {v1, v2}, Landroid/app/Notification$Builder;->addAction(Landroid/app/Notification$Action;)Landroid/app/Notification$Builder;
const/16 v3, 0x1a
const/4 v7, 0x0
const/4 v8, 0x2
const/4 v10, 0x1
move-object/from16 v1, p1
move-object/from16 v2, v16
move-object/from16 v4, v17
goto/16 :goto_5
:cond_15
move-object/from16 v17, v4
iget-object v2, v1, Lc/d;->m:Landroid/os/Bundle;
if-eqz v2, :cond_16
iget-object v3, v0, Lc/h;->c:Landroid/os/Bundle;
invoke-virtual {v3, v2}, Landroid/os/Bundle;->putAll(Landroid/os/Bundle;)V
:cond_16
iget-object v2, v0, Lc/h;->a:Landroid/app/Notification$Builder;
iget-boolean v3, v1, Lc/d;->j:Z
invoke-virtual {v2, v3}, Landroid/app/Notification$Builder;->setShowWhen(Z)Landroid/app/Notification$Builder;
iget-object v2, v0, Lc/h;->a:Landroid/app/Notification$Builder;
iget-boolean v3, v1, Lc/d;->l:Z
invoke-virtual {v2, v3}, Landroid/app/Notification$Builder;->setLocalOnly(Z)Landroid/app/Notification$Builder;
move-result-object v2
const/4 v3, 0x0
invoke-virtual {v2, v3}, Landroid/app/Notification$Builder;->setGroup(Ljava/lang/String;)Landroid/app/Notification$Builder;
move-result-object v2
const/4 v4, 0x0
invoke-virtual {v2, v4}, Landroid/app/Notification$Builder;->setGroupSummary(Z)Landroid/app/Notification$Builder;
move-result-object v2
invoke-virtual {v2, v3}, Landroid/app/Notification$Builder;->setSortKey(Ljava/lang/String;)Landroid/app/Notification$Builder;
iget-object v2, v0, Lc/h;->a:Landroid/app/Notification$Builder;
invoke-virtual {v2, v3}, Landroid/app/Notification$Builder;->setCategory(Ljava/lang/String;)Landroid/app/Notification$Builder;
move-result-object v2
iget v4, v1, Lc/d;->n:I
invoke-virtual {v2, v4}, Landroid/app/Notification$Builder;->setColor(I)Landroid/app/Notification$Builder;
move-result-object v2
iget v4, v1, Lc/d;->o:I
invoke-virtual {v2, v4}, Landroid/app/Notification$Builder;->setVisibility(I)Landroid/app/Notification$Builder;
move-result-object v2
invoke-virtual {v2, v3}, Landroid/app/Notification$Builder;->setPublicVersion(Landroid/app/Notification;)Landroid/app/Notification$Builder;
move-result-object v2
move-object/from16 v3, v17
iget-object v4, v3, Landroid/app/Notification;->sound:Landroid/net/Uri;
iget-object v3, v3, Landroid/app/Notification;->audioAttributes:Landroid/media/AudioAttributes;
invoke-virtual {v2, v4, v3}, Landroid/app/Notification$Builder;->setSound(Landroid/net/Uri;Landroid/media/AudioAttributes;)Landroid/app/Notification$Builder;
iget-object v2, v1, Lc/d;->s:Ljava/util/ArrayList;
invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v2
:goto_b
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_17
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/String;
iget-object v4, v0, Lc/h;->a:Landroid/app/Notification$Builder;
invoke-virtual {v4, v3}, Landroid/app/Notification$Builder;->addPerson(Ljava/lang/String;)Landroid/app/Notification$Builder;
goto :goto_b
:cond_17
iget-object v2, v1, Lc/d;->c:Ljava/util/ArrayList;
invoke-virtual {v2}, Ljava/util/ArrayList;->size()I
move-result v2
if-lez v2, :cond_1d
iget-object v2, v1, Lc/d;->m:Landroid/os/Bundle;
if-nez v2, :cond_18
new-instance v2, Landroid/os/Bundle;
invoke-direct {v2}, Landroid/os/Bundle;-><init>()V
iput-object v2, v1, Lc/d;->m:Landroid/os/Bundle;
:cond_18
iget-object v2, v1, Lc/d;->m:Landroid/os/Bundle;
const-string v3, "android.car.EXTENSIONS"
invoke-virtual {v2, v3}, Landroid/os/Bundle;->getBundle(Ljava/lang/String;)Landroid/os/Bundle;
move-result-object v2
if-nez v2, :cond_19
new-instance v2, Landroid/os/Bundle;
invoke-direct {v2}, Landroid/os/Bundle;-><init>()V
:cond_19
new-instance v4, Landroid/os/Bundle;
invoke-direct {v4}, Landroid/os/Bundle;-><init>()V
const/4 v5, 0x0
:goto_c
iget-object v7, v1, Lc/d;->c:Ljava/util/ArrayList;
invoke-virtual {v7}, Ljava/util/ArrayList;->size()I
move-result v7
if-ge v5, v7, :cond_1b
invoke-static {v5}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;
move-result-object v7
iget-object v8, v1, Lc/d;->c:Ljava/util/ArrayList;
invoke-virtual {v8, v5}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v8
check-cast v8, Lc/a;
sget-object v9, Lc/i;->a:Ljava/lang/Object;
new-instance v9, Landroid/os/Bundle;
invoke-direct {v9}, Landroid/os/Bundle;-><init>()V
iget v10, v8, Lc/a;->e:I
const-string v11, "icon"
invoke-virtual {v9, v11, v10}, Landroid/os/BaseBundle;->putInt(Ljava/lang/String;I)V
iget-object v10, v8, Lc/a;->f:Ljava/lang/CharSequence;
const-string v11, "title"
invoke-virtual {v9, v11, v10}, Landroid/os/Bundle;->putCharSequence(Ljava/lang/String;Ljava/lang/CharSequence;)V
iget-object v10, v8, Lc/a;->g:Landroid/app/PendingIntent;
const-string v11, "actionIntent"
invoke-virtual {v9, v11, v10}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V
iget-object v10, v8, Lc/a;->a:Landroid/os/Bundle;
if-eqz v10, :cond_1a
new-instance v10, Landroid/os/Bundle;
iget-object v11, v8, Lc/a;->a:Landroid/os/Bundle;
invoke-direct {v10, v11}, Landroid/os/Bundle;-><init>(Landroid/os/Bundle;)V
goto :goto_d
:cond_1a
new-instance v10, Landroid/os/Bundle;
invoke-direct {v10}, Landroid/os/Bundle;-><init>()V
:goto_d
iget-boolean v11, v8, Lc/a;->c:Z
invoke-virtual {v10, v6, v11}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
const-string v11, "extras"
invoke-virtual {v9, v11, v10}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
const-string v10, "remoteInputs"
const/4 v11, 0x0
invoke-virtual {v9, v10, v11}, Landroid/os/Bundle;->putParcelableArray(Ljava/lang/String;[Landroid/os/Parcelable;)V
iget-boolean v8, v8, Lc/a;->d:Z
const-string v10, "showsUserInterface"
invoke-virtual {v9, v10, v8}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
const-string v8, "semanticAction"
const/4 v10, 0x0
invoke-virtual {v9, v8, v10}, Landroid/os/BaseBundle;->putInt(Ljava/lang/String;I)V
invoke-virtual {v4, v7, v9}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
add-int/lit8 v5, v5, 0x1
goto :goto_c
:cond_1b
const-string v5, "invisible_actions"
invoke-virtual {v2, v5, v4}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
iget-object v4, v1, Lc/d;->m:Landroid/os/Bundle;
if-nez v4, :cond_1c
new-instance v4, Landroid/os/Bundle;
invoke-direct {v4}, Landroid/os/Bundle;-><init>()V
iput-object v4, v1, Lc/d;->m:Landroid/os/Bundle;
:cond_1c
iget-object v4, v1, Lc/d;->m:Landroid/os/Bundle;
invoke-virtual {v4, v3, v2}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
iget-object v4, v0, Lc/h;->c:Landroid/os/Bundle;
invoke-virtual {v4, v3, v2}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
:cond_1d
sget v2, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v3, 0x18
if-lt v2, v3, :cond_1e
iget-object v3, v0, Lc/h;->a:Landroid/app/Notification$Builder;
iget-object v4, v1, Lc/d;->m:Landroid/os/Bundle;
invoke-virtual {v3, v4}, Landroid/app/Notification$Builder;->setExtras(Landroid/os/Bundle;)Landroid/app/Notification$Builder;
move-result-object v3
const/4 v4, 0x0
invoke-virtual {v3, v4}, Landroid/app/Notification$Builder;->setRemoteInputHistory([Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;
goto :goto_e
:cond_1e
const/4 v4, 0x0
:goto_e
const/16 v3, 0x1a
if-lt v2, v3, :cond_1f
iget-object v3, v0, Lc/h;->a:Landroid/app/Notification$Builder;
const/4 v5, 0x0
invoke-virtual {v3, v5}, Landroid/app/Notification$Builder;->setBadgeIconType(I)Landroid/app/Notification$Builder;
move-result-object v3
invoke-virtual {v3, v4}, Landroid/app/Notification$Builder;->setShortcutId(Ljava/lang/String;)Landroid/app/Notification$Builder;
move-result-object v3
const-wide/16 v6, 0x0
invoke-virtual {v3, v6, v7}, Landroid/app/Notification$Builder;->setTimeoutAfter(J)Landroid/app/Notification$Builder;
move-result-object v3
invoke-virtual {v3, v5}, Landroid/app/Notification$Builder;->setGroupAlertBehavior(I)Landroid/app/Notification$Builder;
iget-object v3, v1, Lc/d;->p:Ljava/lang/String;
invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v3
if-nez v3, :cond_1f
iget-object v3, v0, Lc/h;->a:Landroid/app/Notification$Builder;
invoke-virtual {v3, v4}, Landroid/app/Notification$Builder;->setSound(Landroid/net/Uri;)Landroid/app/Notification$Builder;
move-result-object v3
invoke-virtual {v3, v5}, Landroid/app/Notification$Builder;->setDefaults(I)Landroid/app/Notification$Builder;
move-result-object v3
invoke-virtual {v3, v5, v5, v5}, Landroid/app/Notification$Builder;->setLights(III)Landroid/app/Notification$Builder;
move-result-object v3
invoke-virtual {v3, v4}, Landroid/app/Notification$Builder;->setVibrate([J)Landroid/app/Notification$Builder;
:cond_1f
const/16 v3, 0x1d
if-lt v2, v3, :cond_20
iget-object v2, v0, Lc/h;->a:Landroid/app/Notification$Builder;
iget-boolean v1, v1, Lc/d;->q:Z
invoke-static {v2, v1}, Lc/f;->d(Landroid/app/Notification$Builder;Z)V
iget-object v1, v0, Lc/h;->a:Landroid/app/Notification$Builder;
invoke-static {v1}, Lc/f;->c(Landroid/app/Notification$Builder;)V
:cond_20
return-void
.end method