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

Skip to content
Commit 2f4aaa47 authored by Haining Chen's avatar Haining Chen
Browse files

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
parent f76de3d6
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