summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
author Kiran Ramachandra <kiranmr@google.com> 2025-02-25 23:21:23 +0000
committer Kiran Ramachandra <kiranmr@google.com> 2025-02-25 23:29:16 +0000
commitfcfbc22777cc569a3b385ac78b6d98835dd7fdff (patch)
treea97b79d21927f49b7a82c6b9d7b12d36c79ee4fa /tests
parentc7e3a78bba9c65ed6659154d9b07e3fbe8012435 (diff)
Made permission privileged to grant access to ExtServices
Bug: 377229653 Bug: 388899782 Test: atest FrameworksCoreTests:TextClassificationManagerTest CtsTextClassifierTestCases:TextClassificationManagerTest CtsPermissionPolicyTestCases:PermissionPolicyTest Flag: android.permission.flags.text_classifier_choice_api_enabled Relnote: N/A LOW_COVERAGE_REASON=TEST_ONLY Change-Id: I41f5341f70575d44bf0fcbe140adb88528d7828b
Diffstat (limited to 'tests')
-rw-r--r--tests/cts/permissionpolicy/res/raw/android_manifest.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cts/permissionpolicy/res/raw/android_manifest.xml b/tests/cts/permissionpolicy/res/raw/android_manifest.xml
index cd80fe78e..9ad619596 100644
--- a/tests/cts/permissionpolicy/res/raw/android_manifest.xml
+++ b/tests/cts/permissionpolicy/res/raw/android_manifest.xml
@@ -8985,13 +8985,13 @@
<!-- @SystemApi
@FlaggedApi("android.permission.flags.text_classifier_choice_api_enabled")
- This permission is required to access the specific text classifier you need from the
+ This permission is required to access the specific text classifier from the
TextClassificationManager.
- <p>Protection level: signature|role
+ <p>Protection level: signature|role|privileged
@hide
-->
<permission android:name="android.permission.ACCESS_TEXT_CLASSIFIER_BY_TYPE"
- android:protectionLevel="signature|role"
+ android:protectionLevel="signature|role|privileged"
android:featureFlag="android.permission.flags.text_classifier_choice_api_enabled"/>
<!-- Attribution for Geofencing service. -->