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

Commit 85d0f004 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Make sure to mount Unshare-able volume to device"

parents f486e515 4676ec6a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -854,7 +854,7 @@ class MountService extends IMountService.Stub
            }
            }


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