From 50948ef06e1725b403227063224e4d55e672d9f5 Mon Sep 17 00:00:00 2001 From: mcarare Date: Tue, 18 Aug 2020 17:19:27 +0300 Subject: [PATCH] For #12905: Update dialog title so it won't be read by a11y services. --- .../fenix/trackingprotection/TrackingProtectionOverlay.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/org/mozilla/fenix/trackingprotection/TrackingProtectionOverlay.kt b/app/src/main/java/org/mozilla/fenix/trackingprotection/TrackingProtectionOverlay.kt index 8ed15bf03..285e4d454 100644 --- a/app/src/main/java/org/mozilla/fenix/trackingprotection/TrackingProtectionOverlay.kt +++ b/app/src/main/java/org/mozilla/fenix/trackingprotection/TrackingProtectionOverlay.kt @@ -96,6 +96,8 @@ class TrackingProtectionOverlay( trackingOnboardingDialog.apply { setContentView(layout) setCancelable(false) + // removing title or setting it as an empty string does not prevent a11y services from assigning one + setTitle(" ") } trackingOnboardingDialog.window?.let {