am 8562a7a1: am eedf2fe0: am 0afd1905: Merge "Fix NPE if FPE service does not exist." into lmp-mr1-dev
* commit '8562a7a110a0b012c33047884594cd4c449b27d0': Fix NPE if FPE service does not exist.
This commit is contained in:
@@ -3031,7 +3031,9 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
|
||||
}
|
||||
PersistentDataBlockManager manager = (PersistentDataBlockManager)
|
||||
mContext.getSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE);
|
||||
manager.wipe();
|
||||
if (manager != null) {
|
||||
manager.wipe();
|
||||
}
|
||||
}
|
||||
boolean wipeExtRequested = (flags & WIPE_EXTERNAL_STORAGE) != 0;
|
||||
wipeDeviceOrUserLocked(wipeExtRequested, userHandle,
|
||||
|
||||
Reference in New Issue
Block a user