Merge "Show persistent notification for page-agnostic mode" into main

This commit is contained in:
Pawan Wagh
2024-05-07 02:13:53 +00:00
committed by Gerrit Code Review
7 changed files with 384 additions and 67 deletions

View File

@@ -62,13 +62,13 @@ public class Enable16kPagesPreferenceControllerTest {
@Test
public void onSystemPropertyDisabled_shouldDisablePreference() {
SystemProperties.set(Enable16kPagesPreferenceController.DEV_OPTION_PROPERTY, "false");
SystemProperties.set(Enable16kUtils.DEV_OPTION_PROPERTY, "false");
assertThat(mController.isAvailable()).isEqualTo(false);
}
@Test
public void onSystemPropertyEnabled_shouldEnablePreference() {
SystemProperties.set(Enable16kPagesPreferenceController.DEV_OPTION_PROPERTY, "true");
SystemProperties.set(Enable16kUtils.DEV_OPTION_PROPERTY, "true");
assertThat(mController.isAvailable()).isEqualTo(true);
}