diff options
author | Yohann Roussel <yroussel@google.com> | 2014-01-28 16:11:08 +0100 |
---|---|---|
committer | Yohann Roussel <yroussel@google.com> | 2014-01-28 16:11:08 +0100 |
commit | 782d200657395c38250df7a57b935bf522bc9acc (patch) | |
tree | 5cba1fe82ffe5f0f3c272486cb743a1f2abe1ef0 /library | |
parent | 08903bd236e03903b017ac3e5c66d9abe4b359b8 (diff) | |
download | android_frameworks_multidex-782d200657395c38250df7a57b935bf522bc9acc.tar.gz android_frameworks_multidex-782d200657395c38250df7a57b935bf522bc9acc.tar.bz2 android_frameworks_multidex-782d200657395c38250df7a57b935bf522bc9acc.zip |
Fix crc comparison in multidex installation.
The bug was caused by a comparison of Long instances instead of long
values and was leading to the library always detecting that the
secondary dex files needed a fresh exctraction.
bug 12776578
Change-Id: Ia7056a130cf6e99094e4f456b086e141c1255725
Diffstat (limited to 'library')
-rw-r--r-- | library/src/android/support/multidex/MultiDexExtractor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/android/support/multidex/MultiDexExtractor.java b/library/src/android/support/multidex/MultiDexExtractor.java index ce779d9..010999d 100644 --- a/library/src/android/support/multidex/MultiDexExtractor.java +++ b/library/src/android/support/multidex/MultiDexExtractor.java @@ -191,7 +191,7 @@ final class MultiDexExtractor { // We know the length of storedDexCrcs and dexCrcs are the same. for (int i = 0; i < storedDexCrcs.size(); i++) { - if (storedDexCrcs.get(i) != dexCrcs.get(i)) { + if (storedDexCrcs.get(i).longValue() != dexCrcs.get(i).longValue()) { return true; } } |