DisplayCutout: Add emulation option to DeveloperSettings

Bug: 65689439
Test: Go to Developer Settings > Toggle "Emulate display with a cutout"
Change-Id: Id3387c026df9868d42e0a7b0d7e623115f41452b
This commit is contained in:
Adrian Roos
2018-01-10 13:56:31 +01:00
parent 8fe96d100a
commit db9d09793f
7 changed files with 289 additions and 2 deletions

View File

@@ -424,6 +424,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
controllers.add(new ShowLayoutBoundsPreferenceController(context));
controllers.add(new RtlLayoutPreferenceController(context));
controllers.add(new WindowAnimationScalePreferenceController(context));
controllers.add(new EmulateDisplayCutoutPreferenceController(context));
controllers.add(new TransitionAnimationScalePreferenceController(context));
controllers.add(new AnimatorDurationScalePreferenceController(context));
controllers.add(new SecondaryDisplayPreferenceController(context));