diff options
author | John Spurlock <jspurlock@google.com> | 2014-08-06 10:07:30 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2014-08-06 10:07:30 -0400 |
commit | 04c8fd33669cd54a97e488ee9737153e54692096 (patch) | |
tree | 6da8dcf4ed4284034743e781891583305717ded3 /packages/SystemUI/src/com/android/systemui/power | |
parent | 7c7bc7f6917484250974c5da00af9ef756844b0a (diff) | |
download | frameworks_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.java | 4 |
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)); } |