OSDN Git Service

Confirm a11y shortcut service for correct user
authorPhil Weaver <pweaver@google.com>
Tue, 6 Jun 2017 00:16:55 +0000 (17:16 -0700)
committerPhil Weaver <pweaver@google.com>
Tue, 6 Jun 2017 00:19:20 +0000 (17:19 -0700)
commit11b70f8834cd7a89cbdce3c5861215fd2c79f186
treeb1d7a0eb9cdf45ac636b107ba442d074f90b3652
parent285ad4ce6665bf667879c8dc04967ff693a510dc
Confirm a11y shortcut service for correct user

Fix came from Sony:
https://partner-android-review.googlesource.com/#/c/829546/

Bug: 62251151
Test: Change shortcut to Switch Access for main user, then
create guest and activate shortcut. The UI used to display
switch access for the guest user as well. Now it displays
TalkBack (which is the service that gets activated by the
shortcut for the Guest; only the UI was wrong.)

Change-Id: If2b90cf260279a342c0ccfde0600544490788d38
services/core/java/com/android/server/policy/AccessibilityShortcutController.java