Fix the broken tests on BatteryTipDialogFragmentTest

Test: make -j56 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge.batterytip"
Bug: 222229402
Change-Id: I9a6a8b69a1ef5c64bf8ce8807f83bac09f29ba8d
This commit is contained in:
ykhung
2022-03-03 00:50:05 +08:00
committed by YK Hung
parent d626cb16f8
commit 069df8dcb0

View File

@@ -242,9 +242,7 @@ public class BatteryTipDialogFragmentTest {
ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog);
assertThat(shadowDialog.getMessage()).isEqualTo(
"Your apps are using a normal amount of battery. If apps use too much battery, "
+ "your phone will suggest actions you can take.\n\nYou can always turn"
+ " on Battery Saver if youre running low on battery.");
mContext.getText(R.string.battery_tip_dialog_summary_message));
}
@Test