summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/power
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2014-08-06 10:07:30 -0400
committerJohn Spurlock <jspurlock@google.com>2014-08-06 10:07:30 -0400
commit04c8fd33669cd54a97e488ee9737153e54692096 (patch)
tree6da8dcf4ed4284034743e781891583305717ded3 /packages/SystemUI/src/com/android/systemui/power
parent7c7bc7f6917484250974c5da00af9ef756844b0a (diff)
downloadframeworks_base-04c8fd33669cd54a97e488ee9737153e54692096.zip
frameworks_base-04c8fd33669cd54a97e488ee9737153e54692096.tar.gz
frameworks_base-04c8fd33669cd54a97e488ee9737153e54692096.tar.bz2
PowerUI: Remove notification action icons.
Bug:16839950 Change-Id: I1f8c1c80a2c849e115396e1e22d344a52a2dbe3f
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/power')
-rw-r--r--packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java b/packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java
index 9ffe0ef..dd923e3 100644
--- a/packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java
+++ b/packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java
@@ -189,7 +189,7 @@ public class PowerNotificationWarnings implements PowerUI.WarningsUI {
nb.setContentIntent(pendingBroadcast(ACTION_SHOW_BATTERY_SETTINGS));
}
if (!mSaver) {
- nb.addAction(R.drawable.ic_power_saver,
+ nb.addAction(0,
mContext.getString(R.string.battery_saver_start_action),
pendingBroadcast(ACTION_START_SAVER));
} else {
@@ -222,7 +222,7 @@ public class PowerNotificationWarnings implements PowerUI.WarningsUI {
}
private void addStopSaverAction(Notification.Builder nb) {
- nb.addAction(R.drawable.ic_power_saver,
+ nb.addAction(0,
mContext.getString(R.string.battery_saver_notification_action_text),
pendingBroadcast(ACTION_STOP_SAVER));
}