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

Commit 43f5cd75 authored by Salvador Martinez's avatar Salvador Martinez
Browse files

Revert the low battery warning title to previous version.

This CL removes the "Turn on Battery Saver" text from the title
since this is already added as an action to the notification.

Test: SysUI tests pass
Bug: 76205767
Change-Id: I7b7f612101c67df994e51dfa824c5af057e02f18
parent dc567733
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -61,10 +61,6 @@
    <!-- When the battery is low, this is displayed to the user in a dialog.  The title of the low battery alert.  [CHAR LIMIT=NONE]-->
    <string name="battery_low_title">Battery is low</string>

    <!-- When the battery is low and hybrid notifications are enabled, this is displayed to the user in a dialog.
         The title of the low battery alert.  [CHAR LIMIT=NONE]-->
    <string name="battery_low_title_hybrid">Battery is low. Turn on Battery Saver</string>

    <!-- A message that appears when the battery level is getting low in a dialog.  This is
        appended to the subtitle of the low battery alert.  "percentage" is the percentage of battery
        remaining [CHAR LIMIT=none]-->
+0 −1
Original line number Diff line number Diff line
@@ -193,7 +193,6 @@ public class PowerNotificationWarnings implements PowerUI.WarningsUI {

        // override notification copy if hybrid notification enabled
        if (mEstimate != null) {
            title = mContext.getString(R.string.battery_low_title_hybrid);
            contentText = getHybridContentString(percentage);
        }