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

Commit 4676ec6a authored by padarshr's avatar padarshr
Browse files

Make sure to mount Unshare-able volume to device

This change will make sure to mount unshare-able storage
volume to device on hot swap when the state of the device
is in SHARING mode.

Change-Id: Ib3cd8966f25eeece4fe128693e2e137f2b413bda
parent ac373b9d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -854,7 +854,7 @@ class MountService extends IMountService.Stub
            }

            if (code == VoldResponseCode.VolumeDiskInserted) {
                if(!isUsbMassStorageConnected())
                if(!(isUsbMassStorageConnected() && volume.allowMassStorage()))
                    new Thread("MountService#VolumeDiskInserted") {
                        @Override
                        public void run() {