[Galaxy S II Android Development] remuntada78:
return back with my code in Notification$Builder.smali

.method private applyStandardTemplate(IZZ)Landroid/widget/RemoteViews;
.registers 22
.parameter "resId"
.parameter "fitIn1U"
.parameter "isTickerView"

.prologue
.line 1515
new-instance v1, Landroid/widget/RemoteViews;

move-object/from16 v0, p0

iget-object v2, v0, Landroid/app/Notification$Builder;->mContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

move-result-object v2

move/from16 v0, p1

invoke-direct {v1, v2, v0}, Landroid/widget/RemoteViews;-><init>(Ljava/lang/String;I)V

.line 1516
.local v1, contentView:Landroid/widget/RemoteViews;
const/4 v10, 0x0

.line 1517
.local v10, showLine3:Z
const/4 v9, 0x0

.line 1518
.local v9, showLine2:Z
const v11, 0x1020006

.line 1519
.local v11, smallIconImageViewId:I
if-nez p3, :cond_29

move-object/from16 v0, p0

iget-object v2, v0, Landroid/app/Notification$Builder;->mLargeIcon:Landroid/graphics/Bitmap;

if-eqz v2, :cond_29

.line 1520
const v2, 0x1020006

move-object/from16 v0, p0

iget-object v3, v0, Landroid/app/Notification$Builder;->mLargeIcon:Landroid/graphics/Bitmap;

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setImageViewBitmap(ILandroid/graphics/Bitmap;)V

.line 1521
const v11, 0x102024e

.line 1523
:cond_29
move-object/from16 v0, p0

iget v2, v0, Landroid/app/Notification$Builder;->mPriority:I

const/4 v3, -0x1

if-ge v2, v3, :cond_48

.line 1524
const v2, 0x1020006

const-string/jumbo v3, "setBackgroundResource"

const v4, 0x1080a4d

invoke-virtual {v1, v2, v3, v4}, Landroid/widget/RemoteViews;->setInt(ILjava/lang/String;I)V

.line 1526
const v2, 0x10203c2

const-string/jumbo v3, "setBackgroundResource"

const v4, 0x1080556

invoke-virtual {v1, v2, v3, v4}, Landroid/widget/RemoteViews;->setInt(ILjava/lang/String;I)V

.line 1529
:cond_48
move-object/from16 v0, p0

iget v2, v0, Landroid/app/Notification$Builder;->mSmallIcon:I

if-eqz v2, :cond_12b

.line 1530
move-object/from16 v0, p0

iget v2, v0, Landroid/app/Notification$Builder;->mSmallIcon:I

invoke-virtual {v1, v11, v2}, Landroid/widget/RemoteViews;->setImageViewResource(II)V

.line 1531
const/4 v2, 0x0

invoke-virtual {v1, v11, v2}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

.line 1535
:goto_59
move-object/from16 v0, p0

iget-object v2, v0, Landroid/app/Notification$Builder;->mContentTitle:Ljava/lang/CharSequence;

if-eqz v2, :cond_69

.line 1536
const v2, 0x1020016

move-object/from16 v0, p0

iget-object v3, v0, Landroid/app/Notification$Builder;->mContentTitle:Ljava/lang/CharSequence;

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

[COLOR="Red"] iget-object v2, v0, Landroid/app/Notification$Builder;->mContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v13

const-string v14, "noti_summary_text_color"

const v15, -0x1

invoke-static {v13, v14, v15}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v13

invoke-virtual {v1, v2, v13}, Landroid/widget/RemoteViews;->setTextColor(II)V[/COLOR]

.line 1538
:cond_69
move-object/from16 v0, p0

iget-object v2, v0, Landroid/app/Notification$Builder;->mContentText:Ljava/lang/CharSequence;

if-eqz v2, :cond_7a

.line 1539
const v2, 0x1020046

move-object/from16 v0, p0

iget-object v3, v0, Landroid/app/Notification$Builder;->mContentText:Ljava/lang/CharSequence;

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

[COLOR="Red"] iget-object v2, v0, Landroid/app/Notification$Builder;->mContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v13

const-string v14, "noti_summary_text_color"

const v15, -0x1

invoke-static {v13, v14, v15}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v13

invoke-virtual {v1, v2, v13}, Landroid/widget/RemoteViews;->setTextColor(II)V[/COLOR]

.line 1540
const/4 v10, 0x1

.line 1542
:cond_7a
move-object/from16 v0, p0

iget-object v2, v0, Landroid/app/Notification$Builder;->mContentInfo:Ljava/lang/CharSequence;

if-eqz v2, :cond_132

.line 1543
const v2, 0x10203c6

move-object/from16 v0, p0

iget-object v3, v0, Landroid/app/Notification$Builder;->mContentInfo:Ljava/lang/CharSequence;

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

[COLOR="Red"] iget-object v2, v0, Landroid/app/Notification$Builder;->mContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v13

const-string v14, "noti_summary_text_color"

const v15, -0x1

invoke-static {v13, v14, v15}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v13

invoke-virtual {v1, v2, v13}, Landroid/widget/RemoteViews;->setTextColor(II)V[/COLOR]

.line 1544
const v2, 0x10203c6

const/4 v3, 0x0

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

.line 1545
const/4 v10, 0x1

.line 1563
:goto_92
move-object/from16 v0, p0

iget-object v2, v0, Landroid/app/Notification$Builder;->mSubText:Ljava/lang/CharSequence;

if-eqz v2, :cond_194

.line 1564
const v2, 0x1020046

move-object/from16 v0, p0

iget-object v3, v0, Landroid/app/Notification$Builder;->mSubText:Ljava/lang/CharSequence;

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

[COLOR="Red"] iget-object v2, v0, Landroid/app/Notification$Builder;->mContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v13

const-string v14, "noti_summary_text_color"

const v15, -0x1

invoke-static {v13, v14, v15}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v13

invoke-virtual {v1, v2, v13}, Landroid/widget/RemoteViews;->setTextColor(II)V[/COLOR]

.line 1565
move-object/from16 v0, p0

iget-object v2, v0, Landroid/app/Notification$Builder;->mContentText:Ljava/lang/CharSequence;

if-eqz v2, :cond_18a

.line 1566
const v2, 0x1020015

move-object/from16 v0, p0

iget-object v3, v0, Landroid/app/Notification$Builder;->mContentText:Ljava/lang/CharSequence;

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

[COLOR="Red"] iget-object v2, v0, Landroid/app/Notification$Builder;->mContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v13

const-string v14, "noti_summary_text_color"

const v15, -0x1

invoke-static {v13, v14, v15}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v13

invoke-virtual {v1, v2, v13}, Landroid/widget/RemoteViews;->setTextColor(II)V[/COLOR]

.line 1567
const v2, 0x1020015

const/4 v3, 0x0

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

.line 1568
const/4 v9, 0x1

.line 1583
:goto_ba
if-eqz v9, :cond_df

.line 1584
if-eqz p2, :cond_d5

.line 1586
move-object/from16 v0, p0

iget-object v2, v0, Landroid/app/Notification$Builder;->mContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

move-result-object v8

.line 1587
.local v8, res:Landroid/content/res/Resources;
const v2, 0x1050055

invoke-virtual {v8, v2}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

move-result v2

int-to-float v12, v2

.line 1589
.local v12, subTextSize:F
const v2, 0x1020046

const/4 v3, 0x0

invoke-virtual {v1, v2, v3, v12}, Landroid/widget/RemoteViews;->setTextViewTextSize(IIF)V

.line 1592
.end local v8 #res:Landroid/content/res/Resources;
.end local v12 #subTextSize:F
:cond_d5
const v2, 0x10203c3

const/4 v3, 0x0

const/4 v4, 0x0

const/4 v5, 0x0

const/4 v6, 0x0

invoke-virtual/range {v1 .. v6}, Landroid/widget/RemoteViews;->setViewPadding(IIIII)V

.line 1595
:cond_df
move-object/from16 v0, p0

iget-wide v2, v0, Landroid/app/Notification$Builder;->mWhen:J

const-wide/16 v4, 0x0

cmp-long v2, v2, v4

if-eqz v2, :cond_118

.line 1596
move-object/from16 v0, p0

iget-boolean v2, v0, Landroid/app/Notification$Builder;->mUseChronometer:Z

if-eqz v2, :cond_1ce

.line 1597
const v2, 0x10203c4

const/4 v3, 0x0

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

.line 1598
const v2, 0x10203c4

const-string/jumbo v3, "setBase"

move-object/from16 v0, p0

iget-wide v4, v0, Landroid/app/Notification$Builder;->mWhen:J

invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

move-result-wide v14

invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

move-result-wide v16

sub-long v14, v14, v16

add-long/2addr v4, v14

invoke-virtual {v1, v2, v3, v4, v5}, Landroid/widget/RemoteViews;->setLong(ILjava/lang/String;J)V

.line 1600
const v2, 0x10203c4

const-string/jumbo v3, "setStarted"

const/4 v4, 0x1

invoke-virtual {v1, v2, v3, v4}, Landroid/widget/RemoteViews;->setBoolean(ILjava/lang/String;Z)V

.line 1606
:cond_118
:goto_118
const v3, 0x10203c5

if-eqz v10, :cond_1e4

const/4 v2, 0x0

:goto_11e
invoke-virtual {v1, v3, v2}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

.line 1607
const v3, 0x10203ca

if-eqz v10, :cond_1e8

const/4 v2, 0x0

:goto_127
invoke-virtual {v1, v3, v2}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

.line 1608
return-object v1

.line 1533
:cond_12b
const/16 v2, 0x8

invoke-virtual {v1, v11, v2}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

goto/16 :goto_59

.line 1546
:cond_132
move-object/from16 v0, p0

iget v2, v0, Landroid/app/Notification$Builder;->mNumber:I

if-lez v2, :cond_180

.line 1547
move-object/from16 v0, p0

iget-object v2, v0, Landroid/app/Notification$Builder;->mContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

move-result-object v2

const v3, 0x10e0003

invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getInteger(I)I

move-result v13

.line 1549
.local v13, tooBig:I
move-object/from16 v0, p0

iget v2, v0, Landroid/app/Notification$Builder;->mNumber:I

if-le v2, v13, :cond_16c

.line 1550
const v2, 0x10203c6

move-object/from16 v0, p0

iget-object v3, v0, Landroid/app/Notification$Builder;->mContext:Landroid/content/Context;

invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

move-result-object v3

const v4, 0x1040017

invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

move-result-object v3

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

[COLOR="Red"] iget-object v2, v0, Landroid/app/Notification$Builder;->mContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v13

const-string v14, "noti_summary_text_color"

const v15, -0x1

invoke-static {v13, v14, v15}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v13

invoke-virtual {v1, v2, v13}, Landroid/widget/RemoteViews;->setTextColor(II)V[/COLOR]

.line 1556
:goto_162
const v2, 0x10203c6

const/4 v3, 0x0

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

.line 1557
const/4 v10, 0x1

.line 1558
goto/16 :goto_92

.line 1553
:cond_16c
invoke-static {}, Ljava/text/NumberFormat;->getIntegerInstance()Ljava/text/NumberFormat;

move-result-object v7

.line 1554
.local v7, f:Ljava/text/NumberFormat;
const v2, 0x10203c6

move-object/from16 v0, p0

iget v3, v0, Landroid/app/Notification$Builder;->mNumber:I

int-to-long v3, v3

invoke-virtual {v7, v3, v4}, Ljava/text/NumberFormat;->format(J)Ljava/lang/String;

move-result-object v3

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

[COLOR="Red"] iget-object v2, v0, Landroid/app/Notification$Builder;->mContext:Landroid/content/Context;

invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v13

const-string v14, "noti_summary_text_color"

const v15, -0x1

invoke-static {v13, v14, v15}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v13

invoke-virtual {v1, v2, v13}, Landroid/widget/RemoteViews;->setTextColor(II)V[/COLOR]

goto :goto_162

.line 1559
.end local v7 #f:Ljava/text/NumberFormat;
.end local v13 #tooBig:I
:cond_180
const v2, 0x10203c6

const/16 v3, 0x8

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

goto/16 :goto_92

.line 1570
:cond_18a
const v2, 0x1020015

const/16 v3, 0x8

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

goto/16 :goto_ba

.line 1573
:cond_194
const v2, 0x1020015

const/16 v3, 0x8

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

.line 1574
move-object/from16 v0, p0

iget v2, v0, Landroid/app/Notification$Builder;->mProgressMax:I

if-nez v2, :cond_1a8

move-object/from16 v0, p0

iget-boolean v2, v0, Landroid/app/Notification$Builder;->mProgressIndeterminate:Z

if-eqz v2, :cond_1c4

.line 1575
:cond_1a8
const v2, 0x102000d

move-object/from16 v0, p0

iget v3, v0, Landroid/app/Notification$Builder;->mProgressMax:I

move-object/from16 v0, p0

iget v4, v0, Landroid/app/Notification$Builder;->mProgress:I

move-object/from16 v0, p0

iget-boolean v5, v0, Landroid/app/Notification$Builder;->mProgressIndeterminate:Z

invoke-virtual {v1, v2, v3, v4, v5}, Landroid/widget/RemoteViews;->setProgressBar(IIIZ)V

.line 1577
const v2, 0x102000d

const/4 v3, 0x0

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

.line 1578
const/4 v9, 0x1

goto/16 :goto_ba

.line 1580
:cond_1c4
const v2, 0x102000d

const/16 v3, 0x8

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

goto/16 :goto_ba

.line 1602
:cond_1ce
const v2, 0x1020064

const/4 v3, 0x0

invoke-virtual {v1, v2, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

.line 1603
const v2, 0x1020064

const-string/jumbo v3, "setTime"

move-object/from16 v0, p0

iget-wide v4, v0, Landroid/app/Notification$Builder;->mWhen:J

invoke-virtual {v1, v2, v3, v4, v5}, Landroid/widget/RemoteViews;->setLong(ILjava/lang/String;J)V

goto/16 :goto_118

.line 1606
:cond_1e4
const/16 v2, 0x8

goto/16 :goto_11e

.line 1607
:cond_1e8
const/16 v2, 0x8

goto/16 :goto_127
.end method

I'm not able to explain to myself why i got this

white text should be colored