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

Skip to content
Commit 9f0a677a authored by Shawn Lin's avatar Shawn Lin
Browse files

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
parent b63e9281
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment