From 843dbecf2c0e9e242f691c2dfc6866fdf88376dc Mon Sep 17 00:00:00 2001 From: Daniel Norman Date: Fri, 28 Feb 2025 23:24:36 +0000 Subject: [PATCH] fix(deep): Add intent actions for a11y magnification & flash notif pages This aligns these accessibility system feature settings pages with other similar pages, allowing an external caller to launch this page by sending an intent. Similar to other accessibility system settings neither page is protected by a permission since these settings provide no avenue for abuse. Bug: 388304424 Test: adb shell am start -W -a android.settings.MAGNIFICATION_SETTINGS; Observe that the Magnification Settings page is opened. Test: adb shell am start -W -a android.settings.FLASH_NOTIFICATIONS_SETTINGS; Observe that the Flash Notifications Settings page is opened. Flag: EXEMPT low risk manifest change Change-Id: Ibe9e1031f30416c5f3fcfb7ae2fe76e8dcd45714 --- AndroidManifest.xml | 32 +++++++++++++++++++ src/com/android/settings/Settings.java | 2 ++ .../core/gateway/SettingsGateway.java | 4 +++ 3 files changed, 38 insertions(+) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 47d3360fa09..64ed720f813 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1802,6 +1802,38 @@ android:value="true" /> + + + + + + + + + + + + + + + + + + + +