OSDN Git Service

Keep track of user_setup_complete in DPMS
authorAmith Yamasani <yamasani@google.com>
Thu, 17 Jul 2014 00:26:17 +0000 (17:26 -0700)
committerAmith Yamasani <yamasani@google.com>
Thu, 17 Jul 2014 03:36:41 +0000 (20:36 -0700)
commited239cb950d05ae794999ca75cef0c5371016800
treea1b429ac6832e99602421bfa8ed4f9b43b57a178
parentce50e7af920bf19f3ebf6274657fc51f136c5c87
Keep track of user_setup_complete in DPMS

This is to ensure that some system app can't modify that
state for purposes of changing the profile owner without
user consent.

Bug: 16207721

Change-Id: Ic5f454d7568cd824b83456eed0e2611779a9adf8
services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java