OSDN Git Service

Maintain mSetupCompletedUsers for profiles correctly
authorRubin Xu <rubinxu@google.com>
Fri, 12 Feb 2016 13:47:04 +0000 (13:47 +0000)
committerRubin Xu <rubinxu@google.com>
Fri, 12 Feb 2016 14:11:27 +0000 (14:11 +0000)
commit5eb0f3b3008e9983d97f7414f4ff2738741e5ab5
tree55168007833f876ea01d6fb2e5034f5990b3051f
parentd6c90a88831af5c8d3a3587173873031cf6f5d7f
Maintain mSetupCompletedUsers for profiles correctly

When listening for USER_SETUP_COMPLETE changes, refresh the state for
the affected user instead of the current foreground user which excludes
the active managed profile.

Bug: 27061092
Change-Id: Iae525464d3d3faab9afb76aaf4304b9f10382e01
services/core/java/com/android/server/am/UserController.java