summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Kiran Ramachandra <kiranmr@google.com> 2025-02-25 23:17:51 +0000
committer Kiran Ramachandra <kiranmr@google.com> 2025-02-25 23:24:57 +0000
commit7089d40ab4dc5cff610d08c40d772ab04b109fe7 (patch)
tree3e989717b75bcc4d7829c6649178c0f1c1c75537 /libs/androidfw/Util.cpp
parent241cfec934275156f23dcda47360df7e0e1e6471 (diff)
Made permission privileged to grant access to ExtServices
To enable OTP detection, ExtServices requires the ACCESS_TEXT_CLASSIFIER_BY_TYPE permission to access specific TextClassifier. Because ExtServices cannot utilize the role, the permission is being added as privileged to allow its granting. Bug: 377229653 Bug: 388899782 Test: atest FrameworksCoreTests:TextClassificationManagerTest CtsTextClassifierTestCases:TextClassificationManagerTest CtsPermissionPolicyTestCases:PermissionPolicyTest Flag: android.permission.flags.text_classifier_choice_api_enabled Change-Id: I606227245a6c80f5717df92bfd3760f21ee11d11
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions