Loading services/core/java/com/android/server/MountService.java +9 −2 Original line number Diff line number Diff line Loading @@ -2659,8 +2659,15 @@ class MountService extends IMountService.Stub boolean foundPrimary = false; final int userId = UserHandle.getUserId(uid); final boolean reportUnmounted = !mMountServiceInternal.hasExternalStorage( final boolean reportUnmounted; final long identity = Binder.clearCallingIdentity(); try { reportUnmounted = !mMountServiceInternal.hasExternalStorage( uid, packageName); } finally { Binder.restoreCallingIdentity(identity); } synchronized (mLock) { for (int i = 0; i < mVolumes.size(); i++) { Loading Loading
services/core/java/com/android/server/MountService.java +9 −2 Original line number Diff line number Diff line Loading @@ -2659,8 +2659,15 @@ class MountService extends IMountService.Stub boolean foundPrimary = false; final int userId = UserHandle.getUserId(uid); final boolean reportUnmounted = !mMountServiceInternal.hasExternalStorage( final boolean reportUnmounted; final long identity = Binder.clearCallingIdentity(); try { reportUnmounted = !mMountServiceInternal.hasExternalStorage( uid, packageName); } finally { Binder.restoreCallingIdentity(identity); } synchronized (mLock) { for (int i = 0; i < mVolumes.size(); i++) { Loading