Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a64b75b8 authored by Daniel Norman's avatar Daniel Norman
Browse files

Hide the a11y service enable dialog from non-a11y-tools.

This helps prevent non-tool services from enabling other
accessibility services.

Fix: 282987827
Test: Use a non-tool accessibility service to print the nodes on the
      screen, observe dialog nodes are missing. Change to a
      tool-service and repeat; observe nodes are present.
Test: Confirm that TalkBack can still use this dialog to enable other
      services.
Change-Id: I75c4101c6554cc503ed45fc24b8eb36d07250226
parent 174bd2ab
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@
    android:gravity="top">

    <LinearLayout
        android:accessibilityDataSensitive="yes"
        style="@style/AccessibilityDialog">

        <LinearLayout