diff options
author | John Spurlock <jspurlock@google.com> | 2014-10-17 12:16:57 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2014-10-17 12:16:57 -0400 |
commit | 5b038b4b2b95e77d37b56fdf423a95d95ece83af (patch) | |
tree | 7ec91690936ffc8dca20e8953b4f2480790d5e38 /packages/SystemUI | |
parent | df385fffe822a7854fb7ce9c5e46ee007646c89e (diff) | |
download | frameworks_base-5b038b4b2b95e77d37b56fdf423a95d95ece83af.zip frameworks_base-5b038b4b2b95e77d37b56fdf423a95d95ece83af.tar.gz frameworks_base-5b038b4b2b95e77d37b56fdf423a95d95ece83af.tar.bz2 |
PowerUI: Uncategorize battery notifications as _SYSTEM.
So they don't interrupt in priority mode.
Bug: 17691121
Change-Id: I51757c0275ec461a786d1e254b0e71f7b27b5029
Diffstat (limited to 'packages/SystemUI')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java b/packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java index f69f2e6..8ef3791 100644 --- a/packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java +++ b/packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java @@ -158,7 +158,6 @@ public class PowerNotificationWarnings implements PowerUI.WarningsUI { .setContentTitle(mContext.getString(R.string.invalid_charger_title)) .setContentText(mContext.getString(R.string.invalid_charger_text)) .setPriority(Notification.PRIORITY_MAX) - .setCategory(Notification.CATEGORY_SYSTEM) .setVisibility(Notification.VISIBILITY_PUBLIC) .setColor(mContext.getResources().getColor( com.android.internal.R.color.system_notification_accent_color)); @@ -182,7 +181,6 @@ public class PowerNotificationWarnings implements PowerUI.WarningsUI { .setContentText(mContext.getString(textRes, percentage)) .setOnlyAlertOnce(true) .setPriority(Notification.PRIORITY_MAX) - .setCategory(Notification.CATEGORY_SYSTEM) .setVisibility(Notification.VISIBILITY_PUBLIC) .setColor(mContext.getResources().getColor( 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)) .setOngoing(true) .setShowWhen(false) - .setCategory(Notification.CATEGORY_SYSTEM) .setVisibility(Notification.VISIBILITY_PUBLIC) .setColor(mContext.getResources().getColor( com.android.internal.R.color.battery_saver_mode_color)); |