Merge "Update the categorize rule for system and app item bucket" into tm-dev am: b0151d1155

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17184511

Change-Id: I3d6d566e151f787374661a1c826690aaebf9b194
This commit is contained in:
YK Hung
2022-03-15 13:42:06 +00:00
committed by Automerger Merge Worker
3 changed files with 13 additions and 4 deletions

View File

@@ -349,12 +349,12 @@ public final class BatteryDiffEntryTest {
}
@Test
public void testIsSystemEntry_uidBatteryWithSystemProcess_returnTrue() {
public void testIsSystemEntry_uidBatteryWithSystemProcess_returnFalse() {
final BatteryDiffEntry entry =
createBatteryDiffEntry(
ConvertUtils.CONSUMER_TYPE_UID_BATTERY,
/*uid=*/ 1230, /*isHidden=*/ false);
assertThat(entry.isSystemEntry()).isTrue();
assertThat(entry.isSystemEntry()).isFalse();
}
@Test