Loading services/java/com/android/server/MountService.java +5 −1 Original line number Diff line number Diff line Loading @@ -755,9 +755,10 @@ class MountService extends IMountService.Stub VoldResponseCode.VolumeListResult); for (String volstr : vols) { String[] tok = volstr.split(" "); // FMT: <label> <mountpoint> <state> // FMT: <label> <mountpoint> <state> <uuid> String path = tok[1]; String state = Environment.MEDIA_REMOVED; String uuid = tok[3]; final StorageVolume volume; synchronized (mVolumesLock) { Loading @@ -782,6 +783,9 @@ class MountService extends IMountService.Stub if (state != null) { if (DEBUG_EVENTS) Slog.i(TAG, "Updating valid state " + state); updatePublicVolumeState(volume, state); if (uuid != "-") { volume.setUuid(uuid); } } } } catch (Exception e) { Loading Loading
services/java/com/android/server/MountService.java +5 −1 Original line number Diff line number Diff line Loading @@ -755,9 +755,10 @@ class MountService extends IMountService.Stub VoldResponseCode.VolumeListResult); for (String volstr : vols) { String[] tok = volstr.split(" "); // FMT: <label> <mountpoint> <state> // FMT: <label> <mountpoint> <state> <uuid> String path = tok[1]; String state = Environment.MEDIA_REMOVED; String uuid = tok[3]; final StorageVolume volume; synchronized (mVolumesLock) { Loading @@ -782,6 +783,9 @@ class MountService extends IMountService.Stub if (state != null) { if (DEBUG_EVENTS) Slog.i(TAG, "Updating valid state " + state); updatePublicVolumeState(volume, state); if (uuid != "-") { volume.setUuid(uuid); } } } } catch (Exception e) { Loading