List of usage examples for android.os.storage StorageVolume EXTRA_STORAGE_VOLUME
String EXTRA_STORAGE_VOLUME
To view the source code for android.os.storage StorageVolume EXTRA_STORAGE_VOLUME.
Click Source Link
From source file:com.android.server.MountService.java
private void sendStorageIntent(String action, StorageVolume volume, UserHandle user) { final Intent intent = new Intent(action, Uri.parse("file://" + volume.getPath())); intent.putExtra(StorageVolume.EXTRA_STORAGE_VOLUME, volume); intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT); Slog.d(TAG, "sendStorageIntent " + intent + " to " + user); mContext.sendBroadcastAsUser(intent, user); }