Loading services/java/com/android/server/pm/PackageManagerService.java +4 −1 Original line number Diff line number Diff line Loading @@ -5850,8 +5850,9 @@ public class PackageManagerService extends IPackageManager.Stub { } private byte[] getFileCrC(String path) { ZipFile zfile = null; try { ZipFile zfile = new ZipFile(path); zfile = new ZipFile(path); ZipEntry entry = zfile.getEntry("META-INF/MANIFEST.MF"); if (entry == null) { Log.e(TAG, "Unable to get MANIFEST.MF from " + path); Loading @@ -5862,6 +5863,8 @@ public class PackageManagerService extends IPackageManager.Stub { if (crc == -1) Log.e(TAG, "Unable to get CRC for " + path); return ByteBuffer.allocate(8).putLong(crc).array(); } catch (Exception e) { } finally { IoUtils.closeQuietly(zfile); } return null; } Loading Loading
services/java/com/android/server/pm/PackageManagerService.java +4 −1 Original line number Diff line number Diff line Loading @@ -5850,8 +5850,9 @@ public class PackageManagerService extends IPackageManager.Stub { } private byte[] getFileCrC(String path) { ZipFile zfile = null; try { ZipFile zfile = new ZipFile(path); zfile = new ZipFile(path); ZipEntry entry = zfile.getEntry("META-INF/MANIFEST.MF"); if (entry == null) { Log.e(TAG, "Unable to get MANIFEST.MF from " + path); Loading @@ -5862,6 +5863,8 @@ public class PackageManagerService extends IPackageManager.Stub { if (crc == -1) Log.e(TAG, "Unable to get CRC for " + path); return ByteBuffer.allocate(8).putLong(crc).array(); } catch (Exception e) { } finally { IoUtils.closeQuietly(zfile); } return null; } Loading