Android P's battery estimates tell you when your phone is likely to power off (Updated)
Android P shows current weather conditions on the lock screen and in ambient mode
Android P DP2 adds new API with support for fingerprint, face, and iris authentication
Heads-up notification animations in Android P DP2 are pretty snazzy
Android P DP2 completely hides most notifications in Do Not Disturb mode
- View All 90 Articles In This Series
In the new Android P Developer Preview, Google added a new API for biometric authentication. Dubbed BiometricPrompt, uninspiring as that may seem, this new API replaces the FingerprintDialog that we got in the last DP. Instead of being limited to one method of confirming a user, BiometricPrompt has support for face, iris, and even in-display fingerprint sensors.
The prompt that displays obviates the need for developers to include their own authentication popups. All it takes is a single permission, USE_BIOMETRIC, which covers all biometrics that the device supports. All of this to say, Google is pushing for a unified aesthetic for authenticating a purchase or logging into an app.
Devs, if you've already implemented the FingerprintManager, Google urges you to transition to BiometricPrompt quickly, since the former (and its corresponding USE_FINGERPRINT permission) is now deprecated.