diff options
author | Fabian Kozynski <kozynski@google.com> | 2019-12-27 09:31:04 -0500 |
---|---|---|
committer | Fabian Kozynski <kozynski@google.com> | 2020-01-15 10:27:32 -0500 |
commit | f10b6ab5220b121e28307afae6f8f2b6a39ed198 (patch) | |
tree | c9b1a3372df6bec2445525e1d0054c11d1bea564 /rs/java/android/renderscript/ProgramStore.java | |
parent | 3df3e3b0bf41b8d0cfe683bdd9ff8b8af480f1fa (diff) |
Adding controllers for Controls
This CL adds the following controllers for dealing with Controls in
SystemUI:
* ControlsController - Handles favorites and communication with other
controllers
* ControlsBindingController - Handles binding to the different services
and comunication with them.
* ControlsProviderLifecycleManager - Handles binding with one service
and forwards API calls to it.
* ControlsListingController - Handles finding and listing apps that
satisfy the service requirement
Additionally, this CL adds first versions of the management screen to
add or remove favorites. These are persisted.
To enable:
* adb shell settings put secure systemui.controls_available 1
* restart
To launch management activity:
* Enable controls
* adb shell am start
com.android.systemui/.controls.management.ControlsProviderSelectorActivity
Missing from this CL:
* Multi user support
* Documentation in the controller classes
* Graceful rebinding
* Throttling of Binder calls
* Better dumps
Test: atest com.android.systemui.controls
Test: manual testing of favorite management activities
Bug: 147732882
Change-Id: Ib4932b7f8fd3f2e3ee0ef1c28ddda1bec66c41e4
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions