Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04c8fd33 authored by John Spurlock's avatar John Spurlock
Browse files

PowerUI: Remove notification action icons.

Bug:16839950
Change-Id: I1f8c1c80a2c849e115396e1e22d344a52a2dbe3f
parent 7c7bc7f6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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));
    }