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

Commit 40b5110e authored by Suchi Amalapurapu's avatar Suchi Amalapurapu
Browse files

Remove destroy asec command when mounting secure container

parent a322dfa4
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1104,7 +1104,6 @@ class MountService extends IMountService.Stub
                != PackageManager.PERMISSION_GRANTED) {
            throw new SecurityException("Requires ASEC_MOUNT_UNMOUNT permission");
        }
        mConnector.doCommand(String.format("destroy_asec %s", id));
        String cmd = String.format("mount_asec %s %s %d",
                                   id, key, ownerUid);
        mConnector.doCommand(cmd);