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

Commit ae310b46 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Skip mounting sdcardfs in core mode." into nyc-dev

parents 8e2e40a2 6855c480
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1247,6 +1247,11 @@ class MountService extends IMountService.Stub
    }

    private void onVolumeCreatedLocked(VolumeInfo vol) {
        if (mPms.isOnlyCoreApps()) {
            Slog.d(TAG, "System booted in core-only mode; ignoring volume " + vol.getId());
            return;
        }

        if (vol.type == VolumeInfo.TYPE_EMULATED) {
            final StorageManager storage = mContext.getSystemService(StorageManager.class);
            final VolumeInfo privateVol = storage.findPrivateForEmulated(vol);