summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yunfan Chen <yunfanc@google.com> 2024-12-25 14:48:42 +0900
committer Yunfan Chen <yunfanc@google.com> 2024-12-25 14:51:59 +0900
commit345d423aa54780943d1453d7676afaf6f6ff555c (patch)
treef1071cbf3a66aba8bbd325ff8447032b594d32d2
parent8de4fa32384df900d129f4b84b216e0822e64823 (diff)
Add accessibility title to the immersive dialog
The immersive confirmation dialog currently doesn't have a accessibility title. This will lead to a bad UX. Add meaningful a11y title to the window. Test: adb shell dumpsys accessibility Bug: 384643088 Flag: EXEMPT bugfix Change-Id: I2b70bbead174d3c64c7111113e17dfae931e72ed
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/ImmersiveModeConfirmation.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/ImmersiveModeConfirmation.java b/packages/SystemUI/src/com/android/systemui/statusbar/ImmersiveModeConfirmation.java
index 5ef5a7d2139c..af51c49204bb 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/ImmersiveModeConfirmation.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/ImmersiveModeConfirmation.java
@@ -284,6 +284,7 @@ public class ImmersiveModeConfirmation implements CoreStartable, CommandQueue.Ca
| WindowManager.LayoutParams.PRIVATE_FLAG_TRUSTED_OVERLAY
| WindowManager.LayoutParams.PRIVATE_FLAG_IMMERSIVE_CONFIRMATION_WINDOW;
lp.setTitle("ImmersiveModeConfirmation");
+ lp.accessibilityTitle = mSysUiContext.getString(R.string.immersive_cling_title);
lp.windowAnimations = com.android.internal.R.style.Animation_ImmersiveModeConfirmation;
lp.token = getWindowToken();
return lp;