Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17b03239 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android Git Automerger
Browse files

am 8562a7a1: am eedf2fe0: am 0afd1905: Merge "Fix NPE if FPE service does not...

am 8562a7a1: am eedf2fe0: am 0afd1905: Merge "Fix NPE if FPE service does not exist." into lmp-mr1-dev

* commit '8562a7a1':
  Fix NPE if FPE service does not exist.
parents dec133d5 8562a7a1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3031,8 +3031,10 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
                    }
                    PersistentDataBlockManager manager = (PersistentDataBlockManager)
                            mContext.getSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE);
                    if (manager != null) {
                        manager.wipe();
                    }
                }
                boolean wipeExtRequested = (flags & WIPE_EXTERNAL_STORAGE) != 0;
                wipeDeviceOrUserLocked(wipeExtRequested, userHandle,
                        "DevicePolicyManager.wipeData() from " + source);