OSDN Git Service

DO NOT MERGE Do not call RecoverySystem with DPMS lock held
authorMakoto Onuki <omakoto@google.com>
Wed, 4 Jan 2017 22:36:59 +0000 (14:36 -0800)
committerSuprabh Shukla <suprabh@google.com>
Tue, 31 Jan 2017 21:21:36 +0000 (21:21 +0000)
commit2317451acc84174cbe30d1899428d1b2953a4363
tree91ea7994e7ba865a2ba17366da8a52cb49995b4e
parentf98ed6863a7f64c535a66006852a934b05d550bc
DO NOT MERGE Do not call RecoverySystem with DPMS lock held

Note DPM.wipeData() on a secondary user is now blocking, just like
it's been always blocking on the primary user.

Test: Manually tested wipeData() with ApiDemos, both on 1) the primary user,
2) a secondary user and 3) work profile.

Test: adb shell am instrument -e class com.android.server.devicepolicy.DevicePolicyManagerTest -w com.android.frameworks.servicestests

Bug 30681079

Change-Id: Ia832bed0f22396998d6307ab46e262dae9463838
Merged-in: Ia832bed0f22396998d6307ab46e262dae9463838
(cherry picked from commit efdec8f5688ce6b0a287eddb6d5dad93ffa0e1ee)
services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java