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

Commit c762259c authored by Ari's avatar Ari Committed by Michael Bestas
Browse files

Fix: Fix for ambiguous and broken disk formatting dialog

Part of the original patch was lost in abbe71fa

Change-Id: I5621dff3cfd12a173b0d793398cf729333f97263
parent bb0c0ab9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -200,6 +200,8 @@ public class StorageNotification extends SystemUI {
             */
            Intent intent = new Intent();
            intent.setClass(mContext, com.android.internal.app.ExternalMediaFormatActivity.class);
            // send the volume's path through to the formatting activity
            intent.putExtra(com.android.internal.app.ExternalMediaFormatActivity.FORMAT_PATH, path);
            PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0);

            setMediaStorageNotification(
@@ -214,6 +216,8 @@ public class StorageNotification extends SystemUI {
             */
            Intent intent = new Intent();
            intent.setClass(mContext, com.android.internal.app.ExternalMediaFormatActivity.class);
            // send the volume's path through to the formatting activity
            intent.putExtra(com.android.internal.app.ExternalMediaFormatActivity.FORMAT_PATH, path);
            PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0);

            setMediaStorageNotification(