summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author Fabian Kozynski <kozynski@google.com> 2022-11-14 15:28:08 -0500
committer Fabian Kozynski <kozynski@google.com> 2022-11-18 13:01:03 -0500
commit64fdc5c527d60c146b56be236949d8ae8765c337 (patch)
treea356fd3a47d44578726b89e376333cbdbc63c441 /services/coverage/java
parent82587b1a426f84544568303d67f859f2aaad6037 (diff)
Add panel using TaskView
Adds support for panel view. Controls that have favorites should migrate seamlessly to Panels (see SelectionItem#matches). A couple notes: * Apps with panels will not participate in seeding * If there is at least one app with panel, we show that instead of initial view. * If there is at least one app with panel, we don't open the app picker from the tile. * We save the last selection immediately so selectedItem is always in sync with SharedPreferences. * If we are seeing a panel, the overflow menu doesn't show Edit, and Add directs to the app picker. * The panel is shown inside a Red rectangle. This is temporary for debugging purposes. * Apps with panels are not shown in the Provider selector activity Note that if the flag (2000), no ControlsServiceInfo will have a panel component, and therefore there will be no panels, so we default to old behavior Test: manual Test: atest com.android.systemui.controls.ui Test: disable flag and see that everything behaves correctly, including scroll view Test: atest AppAdapterTest Fixes: 243392556 Change-Id: If260e193e57bec8948581dd4b0fa2f29e610c866
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions