Introduce ShortcutManagerThrottlingPreferenceCtrl
- Create new ShortcutManagerThrottlingPreferenceController - Create controller inside the DashboardFragment - Port logic from DevelopmentSettings into the controller Bug: 34203528 Test: make RunSettingsRoboTests -j40 Change-Id: I5409b40b4ed7d350af34498da9a3d7d79200f69b
This commit is contained in:
@@ -320,7 +320,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
|
||||
// inactive apps
|
||||
controllers.add(new AllowAppsOnExternalPreferenceController(context));
|
||||
controllers.add(new ResizableActivityPreferenceController(context));
|
||||
// reset shortcutmanager rate-limiting
|
||||
controllers.add(new ShortcutManagerThrottlingPreferenceController(context));
|
||||
return controllers;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user