summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceUtils.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-21 17:07:38 +0000
commitaf8fd1b3c5cca104c964968446cc05893604291e (patch)
tree1bff1a0bd4d85232c1ee0627beed3395a3b09997 /libs/androidfw/ResourceUtils.cpp
parentc4588f708da64ea33584857eea1fa7add9973520 (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 Merged-In: I77637f28cdacecaa02ab33603bbc008a501d03d1
Diffstat (limited to 'libs/androidfw/ResourceUtils.cpp')
0 files changed, 0 insertions, 0 deletions