Exported A11y features blocked by IT admin can be bypassed using a11y shortcuts

Root cause: The IT admin dialog cannot be launched by framework features.
Solution: Allow framework features can launch the IT admin dialog to align the setting preference experience.

Bug: 254223085
Test: atest AccessibilityShortcutChooserActivityTest
Change-Id: I1c0ce8244d874049cc2799c580b2f79ece85d32d
This commit is contained in:
menghanli
2022-12-26 11:55:04 +08:00
committed by Menghan Li
parent d0c68b3807
commit 3676d1b617

View File

@@ -3966,7 +3966,7 @@
android:theme="@style/Theme.AlertDialog"
android:taskAffinity="com.android.settings.appops"
android:excludeFromRecents="true"
android:exported="false"
android:exported="true"
android:launchMode="singleTop">
<intent-filter android:priority="1">
<action android:name="android.settings.SHOW_RESTRICTED_SETTING_DIALOG" />