Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e587e983 authored by Chandru S's avatar Chandru S
Browse files

Invoke FaceScanningAnimationOverlay#onReloadResAndMeasure whenever face sensor location changes.

There is a race condition between
 1. AuthController#onConfigurationChanged
 2. ScreenDecorations#onConfigurationChanged

This results in ScreenDecorations using the old value faceSensorLocation instead of
the new value that is available after AuthController#onConfigurationChanged completes.

Fixes: 263449289
Test: atest ScreenDecorationsTest
Test: manually,
  1. On a device that supports multiple resolutions
  2. Go to Settings -> Display -> Screen resolution -> change to smaller resolution
  3. Go to Lockscreen and trigger face auth
  4. Unlock the device
  5. Settings -> Display -> Screen resolution -> change to bigger resolution
  6. Go to Lockscreen and trigger face auth
  7. Confirm that the face scanning animation is not cut off at the bottom.
Change-Id: Icb5cb9a03e9434de30fccf8f264463f24d9f2562
parent accfd441
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