diff options
| author | 2022-11-10 15:48:00 -0500 | |
|---|---|---|
| committer | 2022-11-18 11:06:47 -0500 | |
| commit | 82587b1a426f84544568303d67f859f2aaad6037 (patch) | |
| tree | af0116451163e25645b1763cd8984524ebaea0de /services/coverage/java | |
| parent | b0614930eac7009087681170fe66d4a2e44d0f52 (diff) | |
Distinguish between selected panel or structure
To pave the way, we add a SelectedItem that could contain a
StructureInfo or information for a Panel.
In particular, a Panel points to the ComponentName of the
ControlsProviderService (and not of the activity) for backwards
compatibility and migration. As we still need to match the SelectionInfo
that has the activity information, this is not an issue.
Also, add persistence for the panel using the same keys (and an extra
boolean) for better migration.
Test: atest com.android.systemui.controls
Test: atest DeviceControlsTile
Fixes: 258442632
Change-Id: I544f5cdcb4fdfe0488df05d686173ed3bb709b8e
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions