Loading services/java/com/android/server/MountService.java +7 −0 Original line number Diff line number Diff line Loading @@ -491,6 +491,13 @@ class MountService extends IMountService.Stub implements INativeDaemonConnectorC } } /* notify external storage has mounted to trigger media scanner */ if (mEmulateExternalStorage) { notifyVolumeStateChange(null, Environment.getExternalStorageDirectory().getPath(), VolumeState.NoMedia, VolumeState.Mounted); } /* * If UMS was connected on boot, send the connected event * now that we're up. Loading Loading
services/java/com/android/server/MountService.java +7 −0 Original line number Diff line number Diff line Loading @@ -491,6 +491,13 @@ class MountService extends IMountService.Stub implements INativeDaemonConnectorC } } /* notify external storage has mounted to trigger media scanner */ if (mEmulateExternalStorage) { notifyVolumeStateChange(null, Environment.getExternalStorageDirectory().getPath(), VolumeState.NoMedia, VolumeState.Mounted); } /* * If UMS was connected on boot, send the connected event * now that we're up. Loading