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

This commit is contained in:
YK Hung
2022-03-15 13:17:53 +00:00
committed by Android (Google) Code Review
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