Don't use debug data in app list controller

This is a bug, USE_FAKE_DATA should never be true in build

Change-Id: I14059cd243380c754ca0cff09f088d62828ec755
Fixes: 73117246
Test: Build
This commit is contained in:
jackqdyulei
2018-02-08 10:12:34 -08:00
parent b1c7b88f10
commit 88c86f73bb
2 changed files with 7 additions and 1 deletions

View File

@@ -220,4 +220,9 @@ public class BatteryAppListPreferenceControllerTest {
assertThat(mPreferenceController.isAvailable()).isFalse();
}
@Test
public void testNeverUseFakeData() {
assertThat(BatteryAppListPreferenceController.USE_FAKE_DATA).isFalse();
}
}