summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Alejandro Nijamkin <nijamkin@google.com> 2022-11-10 09:15:10 -0800
committer Ale Nijamkin <nijamkin@google.com> 2022-11-19 00:15:59 +0000
commit2bc579152d7cd92aac66cafd2b23aff5301d18ed (patch)
tree652ff7c53cfcf7d2647e83954226ed07d05f3b56 /libs/androidfw/AssetsProvider.cpp
parenta5a9546399ba7d9ce76945078cb63661d60ed26e (diff)
Support for unavailable and disabled affordances.
End-to-end implementation (across all layers of both System UI and the shared library) for supporting a picker state for affordances, allowing config implementations on the system UI to easily convey whether their affordance should be hidden on the device or should be marked as disabled and show a dialog with instructions for re-enablement. Bug: 256695447,256695925,256695924 Test: unit tests still pass. Was able to see on a tablet that doesn't support NFC that wallet is gone as an option and, when I deselected all home devices, the home affordance was disabled with the correct instruction dialog when picked. Then, marking at least one home device as favorite, the picker allowed me to select "home" again. Change-Id: I77637f28cdacecaa02ab33603bbc008a501d03d1
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions