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

Commit fb81d29d authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android Git Automerger
Browse files

am a4433de3: am 8dd7ad74: Merge "Send along the disk ID that we just scanned." into mnc-dev

* commit 'a4433de3':
  Send along the disk ID that we just scanned.
parents ca4cb337 a4433de3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -993,6 +993,7 @@ class MountService extends IMountService.Stub
    private void onDiskScannedLocked(DiskInfo disk) {
        final Intent intent = new Intent(DiskInfo.ACTION_DISK_SCANNED);
        intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
        intent.putExtra(DiskInfo.EXTRA_DISK_ID, disk.id);
        mContext.sendBroadcastAsUser(intent, UserHandle.ALL,
                android.Manifest.permission.WRITE_MEDIA_STORAGE);