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

Commit 96654be7 authored by Adam Bookatz's avatar Adam Bookatz
Browse files

TalkBack user switch

If TalkBack (accessibility speach) is enabled, then
when a user switch is performed (by clicking on the
user switch buttons), the device will announce that
it is switching users.

Test: manual (enable TalkBack, create a Guest)
Bug: 151669162
Change-Id: Ifa4a7b13f9a423d1dfa55873879fce71ca3a1673
parent bb5aa1cb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -116,6 +116,7 @@ class UserSwitchingDialog extends AlertDialog
                viewMessage = res.getString(R.string.user_switching_message, mNewUser.name);
            }
        }
        view.setAccessibilityPaneTitle(viewMessage);
        ((TextView) view.findViewById(R.id.message)).setText(viewMessage);
        setView(view);
    }