Skip to content
Commit c4506b44 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

Check orientation when retrieving FP location

Instead of relying on the orientation change display listener,
always return the most up to date fingerprint sensor
location based on the current display rotation.

Also make sure to take into account any scaleFactors
in case the resolution of the device changes.

Test: atest AuthControllerTest
Test: rotate the device on the lock screen
(ie: 0 => 180 degrees => 90 degrees => 270 degrees => 90 degrees, etc)
and authenticate with FP from each orientation. See the auth ripple
appears from the correct location (where the FP sensor is).
Fixes: 231460440

Change-Id: Iae49db8ef07046684d2a2c7293132b8f413341de
parent 56fe9580
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