Merge "Update the proper App battery usage string on App info page" into udc-dev am: bc67d885ec
am: d5f6278e49
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22753622 Change-Id: I6d3e0541db7d4c04d5c72f5606a20b7e956ad2b3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user