Add developer option control for GNSS duty cycling.
Duty Cycling control is one of the Android-P features. In Android-P the feature will be controlled via a Developer Options button with no public API. This CL adds the button and connect it to be read via the GnssLocationProivder to control the feature. Also Roboelectric test added. Bug: 64009176 Test: Tested on Android-P build and works as expected. Also Robolectric test added. Change-Id: Icc0d259719cf9034caf2c78c790b914ab4292597
This commit is contained in:
@@ -446,6 +446,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
|
||||
controllers.add(new ResizableActivityPreferenceController(context));
|
||||
controllers.add(new FreeformWindowsPreferenceController(context));
|
||||
controllers.add(new ShortcutManagerThrottlingPreferenceController(context));
|
||||
controllers.add(new EnableGnssRawMeasFullTrackingPreferenceController(context));
|
||||
return controllers;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user