OSDN Git Service

Fixes clicking on foreground user in the switcher.
authorjovanak <jovanak@google.com>
Tue, 10 Apr 2018 22:14:50 +0000 (15:14 -0700)
committerJovana Knezevic <jovanak@google.com>
Wed, 11 Apr 2018 22:42:32 +0000 (22:42 +0000)
commit0535abc5d7fceba84a99ff86248683978b9e703c
tree48f4bc011b47de735fe334d5bb7f754016602f85
parent5d9498a62ca996a50354d03bdae65194c480448f
Fixes clicking on foreground user in the switcher.

When foreground user is clicked, keyguard should be dismissed. If other user is clicked,  we should switch to that user.

Bug: 77653809
Bug: 77808082
Test: Switcher tested in emulator and mojave by clicking on foreground and non-foreground users.
Change-Id: I72e56f8e157419ea05f155be647c11e6d98bde2c
packages/SystemUI/src/com/android/systemui/statusbar/car/FullscreenUserSwitcher.java
packages/SystemUI/src/com/android/systemui/statusbar/car/UserGridRecyclerView.java