Fix inconsistent permission checks for getSensorPropertiesInternal
There is an inconsistency between FaceManager and FaceService for the permission required for getSensorPropertiesInternal. FaceManager checks for USE_BIOMETRIC_INTERNAL while FaceService checks for MANAGE_BIOMETRIC. Based on the definitions of those two permissions, change to enforce USE_BIOMETRIC_INTERNAL. Bug: 264719388 Test: m -j && atest com.android.server.biometrics Change-Id: I86f7902b3dfc99aef094643e1b2fe88299c2aff4
Loading
Please register or sign in to comment