Loading services/java/com/android/server/MountService.java +5 −1 Original line number Diff line number Diff line Loading @@ -1339,8 +1339,12 @@ class MountService extends IMountService.Stub implements INativeDaemonConnectorC String state = mVolumeStates.get(mountPoint); if (state == null) { Slog.w(TAG, "getVolumeState(" + mountPoint + "): Unknown volume"); if (SystemProperties.get("vold.encrypt_progress").length() != 0) { state = Environment.MEDIA_REMOVED; } else { throw new IllegalArgumentException(); } } return state; } Loading Loading
services/java/com/android/server/MountService.java +5 −1 Original line number Diff line number Diff line Loading @@ -1339,8 +1339,12 @@ class MountService extends IMountService.Stub implements INativeDaemonConnectorC String state = mVolumeStates.get(mountPoint); if (state == null) { Slog.w(TAG, "getVolumeState(" + mountPoint + "): Unknown volume"); if (SystemProperties.get("vold.encrypt_progress").length() != 0) { state = Environment.MEDIA_REMOVED; } else { throw new IllegalArgumentException(); } } return state; } Loading