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

Commit e87457f1 authored by John Spurlock's avatar John Spurlock Committed by Android (Google) Code Review
Browse files

Merge "PowerUI: Remove notification action icons." into lmp-dev

parents ff40ed3f 04c8fd33
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));
    }