Merge "Update the proper App battery usage string on App info page" into udc-dev

This commit is contained in:
Treehugger Robot
2023-04-20 10:50:46 +00:00
committed by Android (Google) Code Review
3 changed files with 4 additions and 4 deletions

View File

@@ -101,7 +101,7 @@ class AppBatteryPreferenceTest {
setContent(notInstalledApp)
composeTestRule.onNode(hasTextExactly(context.getString(R.string.app_battery_usage_title)))
composeTestRule.onNode(hasTextExactly(context.getString(R.string.battery_details_title)))
.assertIsDisplayed()
.assertIsNotEnabled()
}
@@ -114,7 +114,7 @@ class AppBatteryPreferenceTest {
composeTestRule.onNode(
hasTextExactly(
context.getString(R.string.app_battery_usage_title),
context.getString(R.string.battery_details_title),
context.getString(R.string.no_battery_summary),
),
).assertIsDisplayed().assertIsEnabled()