Support face auth animation for foldable devices
- Add another face sensor location config for the inner display.
- Load the location configs according to the current available camera
id:
- Add the face sensor field to FacePropertyRepository and listen to
the CameraManager.AvailabilityCallback to monitor the current
available camera id.
- Remove all the face sensor location relative logic in AuthController
and move it to FacePropertyRepository.
- Everything that wants to get the face sensor location is now getting
it from FacePropertyRepository instead of AuthController.
Bug: 311564599
Test: atest DisplayStateRepositoryTest FacePropertyRepositoryImplTest
ScreenDecorationsTest FaceScanningProviderFactoryTest
KeyguardRepositoryImplTest AuthRippleControllerTest
Flag: NONE
Change-Id: Ic6a7ba7e475dad212ac4c5a4cc23f65cf7815a1e
16 files changed