Skip to content
Commit 6cd1f074 authored by Beverly's avatar Beverly
Browse files

Scale px udfps HW related sizes to curr resolution

AuthController calculates the size of UDFPS based on
the native resolution which can change. This CL updates
the lock icon view and udfps keyguard view so that the
sizes and paddings are updated based on the scaled pixel
values to account for any changes in the display's resolution.

Test: manually change display-mode with
  adb shell cmd display set-user-preferred-display-mode 1080 2340 0 0
  and then check location & size of the lock icon + udfps on keyguard
Fixes: 230548686
Fixes: 223116689
Change-Id: I6c320e2ec4c0866768d0fc995eb3f8f06bda1db6
parent a3193ed1
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