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
Loading
Please register or sign in to comment