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

Commit 95174439 authored by Mike Lockwood's avatar Mike Lockwood
Browse files

MountService: Launch UsbStorageActivity with Intent.FLAG_ACTIVITY_NEW_TASK flag.

parent d497d876
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -231,6 +231,7 @@ class MountService extends IMountService.Stub {
            if (getMassStorageConnected() && !suppressIfConnected) {
                Intent intent = new Intent();
                intent.setClass(mContext, com.android.internal.app.UsbStorageActivity.class);
                intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0);
                setUsbStorageNotification(
                        com.android.internal.R.string.usb_storage_notification_title,