granularity level: instruction

		.class public final Lc/d;
.super Ljava/lang/Object;
.source "SourceFile"


.field public a:Landroid/content/Context;
.field public b:Ljava/util/ArrayList;
.field public c:Ljava/util/ArrayList;
.field public d:Ljava/lang/CharSequence;
.field public e:Ljava/lang/CharSequence;
.field public f:Landroid/app/PendingIntent;
.field public g:Landroid/graphics/Bitmap;
.field public h:I
.field public i:I
.field public j:Z
.field public k:Lc/e;
.field public l:Z
.field public m:Landroid/os/Bundle;
.field public n:I
.field public o:I
.field public p:Ljava/lang/String;
.field public q:Z
.field public r:Landroid/app/Notification;
.field public s:Ljava/util/ArrayList;


.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, Lc/d;->b:Ljava/util/ArrayList;
	new-instance v0, Ljava/util/ArrayList;
	invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
	iput-object v0, p0, Lc/d;->c:Ljava/util/ArrayList;
	const/4 v0, 0x1
	iput-boolean v0, p0, Lc/d;->j:Z
	const/4 v1, 0x0
	iput-boolean v1, p0, Lc/d;->l:Z
	iput v1, p0, Lc/d;->n:I
	iput v1, p0, Lc/d;->o:I
	new-instance v2, Landroid/app/Notification;
	invoke-direct {v2}, Landroid/app/Notification;-><init>()V
	iput-object v2, p0, Lc/d;->r:Landroid/app/Notification;
	iput-object p1, p0, Lc/d;->a:Landroid/content/Context;
	iput-object p2, p0, Lc/d;->p: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, Lc/d;->r:Landroid/app/Notification;
	const/4 p2, -0x1
	iput p2, p1, Landroid/app/Notification;->audioStreamType:I
	iput v1, p0, Lc/d;->i:I
	new-instance p1, Ljava/util/ArrayList;
	invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
	iput-object p1, p0, Lc/d;->s:Ljava/util/ArrayList;
	iput-boolean v0, p0, Lc/d;->q:Z
	return-void
.end method

.method public static b(Ljava/lang/String;)Ljava/lang/CharSequence;
	.locals 2

	if-nez p0, :cond_0
	return-object p0
	:cond_0
	invoke-virtual {p0}, Ljava/lang/String;->length()I
	move-result v0
	const/16 v1, 0x1400
	if-le v0, v1, :cond_1
	const/4 v0, 0x0
	invoke-virtual {p0, v0, v1}, Ljava/lang/String;->subSequence(II)Ljava/lang/CharSequence;
	move-result-object p0
	:cond_1
	return-object p0
.end method

.method public final a()Landroid/app/Notification;
	.locals 4

	new-instance v0, Lc/h;
	invoke-direct {v0, p0}, Lc/h;-><init>(Lc/d;)V
	iget-object v1, v0, Lc/h;->b:Lc/d;
	iget-object v1, v1, Lc/d;->k:Lc/e;
	if-eqz v1, :cond_0
	invoke-virtual {v1, v0}, Lc/e;->a(Lc/h;)V
	:cond_0
	sget v2, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v3, 0x1a
	if-lt v2, v3, :cond_1
	goto :goto_0
	:cond_1
	const/16 v3, 0x18
	if-lt v2, v3, :cond_2
	goto :goto_0
	:cond_2
	iget-object v2, v0, Lc/h;->a:Landroid/app/Notification$Builder;
	iget-object v3, v0, Lc/h;->c:Landroid/os/Bundle;
	invoke-virtual {v2, v3}, Landroid/app/Notification$Builder;->setExtras(Landroid/os/Bundle;)Landroid/app/Notification$Builder;
	:goto_0
	iget-object v2, v0, Lc/h;->a:Landroid/app/Notification$Builder;
	invoke-virtual {v2}, Landroid/app/Notification$Builder;->build()Landroid/app/Notification;
	move-result-object v2
	iget-object v3, v0, Lc/h;->b:Lc/d;
	invoke-virtual {v3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	if-eqz v1, :cond_3
	iget-object v0, v0, Lc/h;->b:Lc/d;
	iget-object v0, v0, Lc/d;->k:Lc/e;
	invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	:cond_3
	if-eqz v1, :cond_4
	iget-object v0, v2, Landroid/app/Notification;->extras:Landroid/os/Bundle;
	:cond_4
	return-object v2
.end method

.method public final c(Landroid/graphics/Bitmap;)V
	.locals 9

	if-eqz p1, :cond_2
	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x1b
	if-lt v0, v1, :cond_0
	goto :goto_0
	:cond_0
	iget-object v0, p0, Lc/d;->a:Landroid/content/Context;
	invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
	move-result-object v0
	const v1, 0x7f030006
	invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
	move-result v1
	const v2, 0x7f030005
	invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
	move-result v0
	invoke-virtual {p1}, Landroid/graphics/Bitmap;->getWidth()I
	move-result v2
	if-gt v2, v1, :cond_1
	invoke-virtual {p1}, Landroid/graphics/Bitmap;->getHeight()I
	move-result v2
	if-gt v2, v0, :cond_1
	goto :goto_0
	:cond_1
	int-to-double v1, v1
	invoke-virtual {p1}, Landroid/graphics/Bitmap;->getWidth()I
	move-result v3
	const/4 v4, 0x1
	invoke-static {v4, v3}, Ljava/lang/Math;->max(II)I
	move-result v3
	int-to-double v5, v3
	div-double/2addr v1, v5
	int-to-double v5, v0
	invoke-virtual {p1}, Landroid/graphics/Bitmap;->getHeight()I
	move-result v0
	invoke-static {v4, v0}, Ljava/lang/Math;->max(II)I
	move-result v0
	int-to-double v7, v0
	div-double/2addr v5, v7
	invoke-static {v1, v2, v5, v6}, Ljava/lang/Math;->min(DD)D
	move-result-wide v0
	invoke-virtual {p1}, Landroid/graphics/Bitmap;->getWidth()I
	move-result v2
	int-to-double v2, v2
	mul-double v2, v2, v0
	invoke-static {v2, v3}, Ljava/lang/Math;->ceil(D)D
	move-result-wide v2
	double-to-int v2, v2
	invoke-virtual {p1}, Landroid/graphics/Bitmap;->getHeight()I
	move-result v3
	int-to-double v5, v3
	mul-double v5, v5, v0
	invoke-static {v5, v6}, Ljava/lang/Math;->ceil(D)D
	move-result-wide v0
	double-to-int v0, v0
	invoke-static {p1, v2, v0, v4}, Landroid/graphics/Bitmap;->createScaledBitmap(Landroid/graphics/Bitmap;IIZ)Landroid/graphics/Bitmap;
	move-result-object p1
	:cond_2
	:goto_0
	iput-object p1, p0, Lc/d;->g:Landroid/graphics/Bitmap;
	return-void
.end method

.method public final d(Lc/e;)V
	.locals 1

	iget-object v0, p0, Lc/d;->k:Lc/e;
	if-eq v0, p1, :cond_0
	iput-object p1, p0, Lc/d;->k:Lc/e;
	iget-object v0, p1, Lc/e;->a:Lc/d;
	if-eq v0, p0, :cond_0
	iput-object p0, p1, Lc/e;->a:Lc/d;
	invoke-virtual {p0, p1}, Lc/d;->d(Lc/e;)V
	:cond_0
	return-void
.end method