+18
−0
+229
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
We should stop using a bundle between BiometricPrompt (API), AuthService/BiometricService, and AuthController (SystemUI) For the below reasons 1) Bundles are too generic, and also less readable 2) Avoid needing to define default values everywhere 3) Cleaner interface 4) Convenience functions can be added within PromptInfo We can consider having separate parcelables for - BiometricPrompt->BiometricService - BiometricService->AuthController But that seems a bit overkill at the moment Test: atest com.android.systemui.biometrics Test: atest com.android.server.biometrics Test: BiometricPromptDemo Change-Id: I2911a876bf00197a13f6a406ab735a8bad5b960f