am 6daac003: Merge "PowerUI: Uncategorize battery notifications as _SYSTEM." into lmp-mr1-dev
* commit '6daac00331fa79d8ab249ef148a8116e58ca9a56': PowerUI: Uncategorize battery notifications as _SYSTEM.
This commit is contained in:
@@ -158,7 +158,6 @@ public class PowerNotificationWarnings implements PowerUI.WarningsUI {
|
|||||||
.setContentTitle(mContext.getString(R.string.invalid_charger_title))
|
.setContentTitle(mContext.getString(R.string.invalid_charger_title))
|
||||||
.setContentText(mContext.getString(R.string.invalid_charger_text))
|
.setContentText(mContext.getString(R.string.invalid_charger_text))
|
||||||
.setPriority(Notification.PRIORITY_MAX)
|
.setPriority(Notification.PRIORITY_MAX)
|
||||||
.setCategory(Notification.CATEGORY_SYSTEM)
|
|
||||||
.setVisibility(Notification.VISIBILITY_PUBLIC)
|
.setVisibility(Notification.VISIBILITY_PUBLIC)
|
||||||
.setColor(mContext.getResources().getColor(
|
.setColor(mContext.getResources().getColor(
|
||||||
com.android.internal.R.color.system_notification_accent_color));
|
com.android.internal.R.color.system_notification_accent_color));
|
||||||
@@ -182,7 +181,6 @@ public class PowerNotificationWarnings implements PowerUI.WarningsUI {
|
|||||||
.setContentText(mContext.getString(textRes, percentage))
|
.setContentText(mContext.getString(textRes, percentage))
|
||||||
.setOnlyAlertOnce(true)
|
.setOnlyAlertOnce(true)
|
||||||
.setPriority(Notification.PRIORITY_MAX)
|
.setPriority(Notification.PRIORITY_MAX)
|
||||||
.setCategory(Notification.CATEGORY_SYSTEM)
|
|
||||||
.setVisibility(Notification.VISIBILITY_PUBLIC)
|
.setVisibility(Notification.VISIBILITY_PUBLIC)
|
||||||
.setColor(mContext.getResources().getColor(
|
.setColor(mContext.getResources().getColor(
|
||||||
com.android.internal.R.color.battery_saver_mode_color));
|
com.android.internal.R.color.battery_saver_mode_color));
|
||||||
@@ -214,7 +212,6 @@ public class PowerNotificationWarnings implements PowerUI.WarningsUI {
|
|||||||
.setContentText(mContext.getString(R.string.battery_saver_notification_text))
|
.setContentText(mContext.getString(R.string.battery_saver_notification_text))
|
||||||
.setOngoing(true)
|
.setOngoing(true)
|
||||||
.setShowWhen(false)
|
.setShowWhen(false)
|
||||||
.setCategory(Notification.CATEGORY_SYSTEM)
|
|
||||||
.setVisibility(Notification.VISIBILITY_PUBLIC)
|
.setVisibility(Notification.VISIBILITY_PUBLIC)
|
||||||
.setColor(mContext.getResources().getColor(
|
.setColor(mContext.getResources().getColor(
|
||||||
com.android.internal.R.color.battery_saver_mode_color));
|
com.android.internal.R.color.battery_saver_mode_color));
|
||||||
|
|||||||
Reference in New Issue
Block a user