OSDN Git Service

Introduce ShortcutManagerThrottlingPreferenceCtrl
authorjeffreyhuang <jeffreyhuang@google.com>
Tue, 3 Oct 2017 19:28:41 +0000 (12:28 -0700)
committerjeffreyhuang <jeffreyhuang@google.com>
Wed, 4 Oct 2017 01:09:55 +0000 (18:09 -0700)
commit1f4ebfe41ec68f322cd01195bedca8237b94ebae
tree155efce999e45a28c989cb4fe3880587e63e7ba3
parent980e5b5869269e6aee4d41e7efda70af3465d086
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
src/com/android/settings/development/DevelopmentSettingsDashboardFragment.java
src/com/android/settings/development/ShortcutManagerThrottlingPreferenceController.java [new file with mode: 0644]
tests/robotests/src/com/android/settings/development/ShortcutManagerThrottlingPreferenceControllerTest.java [new file with mode: 0644]