OSDN Git Service

Don't disrupt a11y state when user is unlocked.
authorPhil Weaver <pweaver@google.com>
Wed, 11 May 2016 23:24:13 +0000 (16:24 -0700)
committerPhil Weaver <pweaver@google.com>
Wed, 11 May 2016 23:24:13 +0000 (16:24 -0700)
commit37fc1c1ce4629973a101ab5cde41406bb6266793
treeda062df59975555f46be7c87f6b57cf86f0c3ddd
parentf829c1463b4805545d15924ad6243b9405eb83d6
Don't disrupt a11y state when user is unlocked.

AccessibilityManagerService#unlockUser was assuming that we should
switch to the unlocked user's state. If that user is a new work
profile, this transition disables all accessibility features.

Bug: 28726050
Change-Id: I3797d34b580d00642b204fff3fc9a07b720738e0
services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java