From a9eb7c90dd9997d89aa45db8445aca15ae1bfd4a Mon Sep 17 00:00:00 2001 From: pajacechen Date: Tue, 30 Jul 2024 10:05:03 +0800 Subject: [PATCH] [Bugfix] Fix the failed test case Fix the failed test case that missed from ag/28495857 Test: Unit Test Fix: 348563863 Fix: 356152111 Flag: EXEMPT bug fix Change-Id: I852da018c6967c6ca13e3aea72290a2d6be8bfdd --- .../src/com/android/settings/fuelgauge/BatteryInfoTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/robotests/src/com/android/settings/fuelgauge/BatteryInfoTest.java b/tests/robotests/src/com/android/settings/fuelgauge/BatteryInfoTest.java index 851dc79a03f..8d6cc08597f 100644 --- a/tests/robotests/src/com/android/settings/fuelgauge/BatteryInfoTest.java +++ b/tests/robotests/src/com/android/settings/fuelgauge/BatteryInfoTest.java @@ -75,7 +75,8 @@ public class BatteryInfoTest { private static final String STATUS_CHARGING_TIME = "50% - 0 min left until full"; private static final String STATUS_NOT_CHARGING = "Not charging"; private static final String STATUS_CHARGING_FUTURE_BYPASS = "50% - Charging"; - private static final String STATUS_CHARGING_PAUSED = "50% - Charging optimized"; + private static final String STATUS_CHARGING_PAUSED = + "50% - Charging on hold to protect battery"; private static final long REMAINING_TIME_NULL = -1; private static final long REMAINING_TIME = 2; // Strings are defined in frameworks/base/packages/SettingsLib/res/values/strings.xml