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

Commit 44f45ae6 authored by Suprabh Shukla's avatar Suprabh Shukla Committed by android-build-merger
Browse files

Merge "Adding null check on VolumeInfo" into nyc-dev am: f8ab95d1

am: f43e0dce

* commit 'f43e0dce':
  Adding null check on VolumeInfo

Change-Id: Ic01de7bd3a22667ebe867b540f35aeb9937c7657
parents 9fc8e002 f43e0dce
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -654,8 +654,9 @@ public class StorageNotification extends SystemUI {
        intent.putExtra(PackageManager.EXTRA_MOVE_ID, move.moveId);

        final VolumeInfo vol = mStorageManager.findVolumeByQualifiedUuid(move.volumeUuid);
        if (vol != null) {
            intent.putExtra(VolumeInfo.EXTRA_VOLUME_ID, vol.getId());

        }
        return PendingIntent.getActivityAsUser(mContext, move.moveId, intent,
                PendingIntent.FLAG_CANCEL_CURRENT, null, UserHandle.CURRENT);
    }