PowerUI: Remove notification action icons.

Bug:16839950
Change-Id: I1f8c1c80a2c849e115396e1e22d344a52a2dbe3f
This commit is contained in:
John Spurlock
2014-08-06 10:07:30 -04:00
parent 7c7bc7f691
commit 04c8fd3366

View File

@@ -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));
}