Loading core/java/android/app/Notification.java +12 −0 Original line number Original line Diff line number Diff line Loading @@ -796,6 +796,12 @@ public class Notification implements Parcelable if (this.icon != 0) { if (this.icon != 0) { contentView.setImageViewResource(R.id.icon, this.icon); contentView.setImageViewResource(R.id.icon, this.icon); } } if (priority < PRIORITY_LOW) { contentView.setInt(R.id.icon, "setBackgroundResource", R.drawable.notification_template_icon_low_bg); contentView.setInt(R.id.status_bar_latest_event_content, "setBackgroundResource", R.drawable.notification_bg_low); } if (contentTitle != null) { if (contentTitle != null) { contentView.setTextViewText(R.id.title, contentTitle); contentView.setTextViewText(R.id.title, contentTitle); } } Loading Loading @@ -1364,6 +1370,12 @@ public class Notification implements Parcelable contentView.setImageViewBitmap(R.id.icon, mLargeIcon); contentView.setImageViewBitmap(R.id.icon, mLargeIcon); smallIconImageViewId = R.id.right_icon; smallIconImageViewId = R.id.right_icon; } } if (mPriority < PRIORITY_LOW) { contentView.setInt(R.id.icon, "setBackgroundResource", R.drawable.notification_template_icon_low_bg); contentView.setInt(R.id.status_bar_latest_event_content, "setBackgroundResource", R.drawable.notification_bg_low); } if (mSmallIcon != 0) { if (mSmallIcon != 0) { contentView.setImageViewResource(smallIconImageViewId, mSmallIcon); contentView.setImageViewResource(smallIconImageViewId, mSmallIcon); contentView.setViewVisibility(smallIconImageViewId, View.VISIBLE); contentView.setViewVisibility(smallIconImageViewId, View.VISIBLE); Loading core/res/res/drawable-hdpi/notification_bg_low_normal.9.png 0 → 100644 +176 B Loading image diff... core/res/res/drawable-hdpi/notification_bg_low_pressed.9.png 0 → 100644 +181 B Loading image diff... core/res/res/drawable-hdpi/notification_bg_normal.9.png 0 → 100644 +176 B Loading image diff... core/res/res/drawable-hdpi/notification_bg_normal_pressed.9.png 0 → 100644 +180 B Loading image diff... Loading
core/java/android/app/Notification.java +12 −0 Original line number Original line Diff line number Diff line Loading @@ -796,6 +796,12 @@ public class Notification implements Parcelable if (this.icon != 0) { if (this.icon != 0) { contentView.setImageViewResource(R.id.icon, this.icon); contentView.setImageViewResource(R.id.icon, this.icon); } } if (priority < PRIORITY_LOW) { contentView.setInt(R.id.icon, "setBackgroundResource", R.drawable.notification_template_icon_low_bg); contentView.setInt(R.id.status_bar_latest_event_content, "setBackgroundResource", R.drawable.notification_bg_low); } if (contentTitle != null) { if (contentTitle != null) { contentView.setTextViewText(R.id.title, contentTitle); contentView.setTextViewText(R.id.title, contentTitle); } } Loading Loading @@ -1364,6 +1370,12 @@ public class Notification implements Parcelable contentView.setImageViewBitmap(R.id.icon, mLargeIcon); contentView.setImageViewBitmap(R.id.icon, mLargeIcon); smallIconImageViewId = R.id.right_icon; smallIconImageViewId = R.id.right_icon; } } if (mPriority < PRIORITY_LOW) { contentView.setInt(R.id.icon, "setBackgroundResource", R.drawable.notification_template_icon_low_bg); contentView.setInt(R.id.status_bar_latest_event_content, "setBackgroundResource", R.drawable.notification_bg_low); } if (mSmallIcon != 0) { if (mSmallIcon != 0) { contentView.setImageViewResource(smallIconImageViewId, mSmallIcon); contentView.setImageViewResource(smallIconImageViewId, mSmallIcon); contentView.setViewVisibility(smallIconImageViewId, View.VISIBLE); contentView.setViewVisibility(smallIconImageViewId, View.VISIBLE); Loading
core/res/res/drawable-hdpi/notification_bg_normal_pressed.9.png 0 → 100644 +180 B Loading image diff...