Loading services/java/com/android/server/MountService.java +14 −15 Original line number Diff line number Diff line Loading @@ -1599,6 +1599,8 @@ class MountService extends IMountService.Stub addObbState(obbState); } String hashedKey = null; if (key != null) { final MessageDigest md; try { md = MessageDigest.getInstance("MD5"); Loading @@ -1612,7 +1614,8 @@ class MountService extends IMountService.Stub return; } String hashedKey = HexDump.toHexString(md.digest(key.getBytes())); hashedKey = HexDump.toHexString(md.digest(key.getBytes())); } ObbAction action = new MountObbAction(obbState, hashedKey); mObbActionHandler.sendMessage(mObbActionHandler.obtainMessage(OBB_RUN_ACTION, action)); Loading Loading @@ -1956,10 +1959,6 @@ class MountService extends IMountService.Stub throw new IllegalArgumentException("Caller package does not match OBB file"); } if (mKey == null) { mKey = "none"; } boolean mounted = false; int rc; synchronized (mObbState) { Loading Loading
services/java/com/android/server/MountService.java +14 −15 Original line number Diff line number Diff line Loading @@ -1599,6 +1599,8 @@ class MountService extends IMountService.Stub addObbState(obbState); } String hashedKey = null; if (key != null) { final MessageDigest md; try { md = MessageDigest.getInstance("MD5"); Loading @@ -1612,7 +1614,8 @@ class MountService extends IMountService.Stub return; } String hashedKey = HexDump.toHexString(md.digest(key.getBytes())); hashedKey = HexDump.toHexString(md.digest(key.getBytes())); } ObbAction action = new MountObbAction(obbState, hashedKey); mObbActionHandler.sendMessage(mObbActionHandler.obtainMessage(OBB_RUN_ACTION, action)); Loading Loading @@ -1956,10 +1959,6 @@ class MountService extends IMountService.Stub throw new IllegalArgumentException("Caller package does not match OBB file"); } if (mKey == null) { mKey = "none"; } boolean mounted = false; int rc; synchronized (mObbState) { Loading