Skip to content
Commit f6241f53 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

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
parent a90cb087
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment