summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Kevin Chyn <kchyn@google.com> 2021-11-09 13:51:38 -0800
committer Kevin Chyn <kchyn@google.com> 2021-11-09 16:27:16 -0800
commitf6241f53f777a13036181e548c1f6950f20ba893 (patch)
tree0668e98441ab68fb8913595562a147143b863b0e /libs/androidfw/ZipFileRO.cpp
parenta90cb087c071bd5018d6cd3638df47b85e18780b (diff)
Workaround to support low-area UDFPS on BP
1) Ensure the spacer measurement is clamped to 0. Negative values cause the layout to exhibit undefined behavior. 2) Instead of making the layout xml even more complicated, for low-area sensor devices, we just have onLayoutInternal() translate the icon and indicator to where it should be. Note that this can definitely cause overlap with the button bar, but at least this implementation allows the button bar to be shown (and thus pass curent CTS requirements). We can have additional refinement in the future. Bug: 201510778 Test: atest CtsBiometricsTestCases Change-Id: Ie9869f15fc3afddc3bd4392a2fd08efbf136cd6c
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions