OSDN Git Service

Fix call to get the current user id from a secondary SystemUI process.
authorWinson Chung <winsonc@google.com>
Wed, 17 May 2017 17:46:49 +0000 (10:46 -0700)
committerWinson Chung <winsonc@google.com>
Wed, 17 May 2017 17:47:36 +0000 (10:47 -0700)
commitd664269d58bde69b4b8cd371084dc1ed40956978
treead0fb72640adbe820f88ec7f2405e864e1a1c96f
parent7415a5941bb481da4ab9b1e5caa387d921fc9889
Fix call to get the current user id from a secondary SystemUI process.

- The secondary SystemUI process's KeyguardUpdateMonitor is not updated
  so we can't rely on it to get the current user id.

Bug: 38372598
Test: Switch users, launch some tasks, and switch back. Ensure that original
      tasks still exist

Change-Id: I26a7c70b5f7032a106dc1342c8b366e4797e8fa0
packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoadPlan.java