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

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

am 17b03239: am 8562a7a1: am eedf2fe0: am 0afd1905: Merge "Fix NPE if FPE...

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

* commit '17b03239':
  Fix NPE if FPE service does not exist.
parents 5093cd36 17b03239
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3174,8 +3174,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);