diff options
| author | 2023-01-26 17:27:12 -0800 | |
|---|---|---|
| committer | 2023-01-31 02:22:49 +0000 | |
| commit | e587e9835e215caef1701401b004d6c33f6bfbc6 (patch) | |
| tree | 4257987560a76d183a097a7d58c716d8c2f3930d /libs/input/PointerController.cpp | |
| parent | accfd441580ea8c0c796f3c4ada62491d0921828 (diff) | |
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions