Merge "Add missing ACTION_MEDIA_UNMOUNTED intent"
This commit is contained in:
@@ -832,7 +832,7 @@ class MountService extends IMountService.Stub
|
||||
if (DEBUG_EVENTS) Slog.i(TAG, "Sending unmounted event first");
|
||||
/* Send the media unmounted event first */
|
||||
updatePublicVolumeState(volume, Environment.MEDIA_UNMOUNTED);
|
||||
action = Intent.ACTION_MEDIA_UNMOUNTED;
|
||||
sendStorageIntent(Intent.ACTION_MEDIA_UNMOUNTED, volume, UserHandle.ALL);
|
||||
|
||||
if (DEBUG_EVENTS) Slog.i(TAG, "Sending media bad removal");
|
||||
updatePublicVolumeState(volume, Environment.MEDIA_BAD_REMOVAL);
|
||||
|
||||
Reference in New Issue
Block a user