Bug 602008 - Always extract files from APK if the time is different, r=blassey a=blocking-fennec GECKO20b7pre_20100929_RELBRANCH FENNEC_4_0b1_BUILD2
authorMichael Wu <mwu@mozilla.com>
Tue, 05 Oct 2010 16:51:00 -0700
branchGECKO20b7pre_20100929_RELBRANCH
changeset 54943 6bd3e0d8c5d1
parent 54928 17a1071773a0
child 54944 b0a9b1c104c0
push idunknown
push userunknown
push dateunknown
reviewersblassey, blocking-fennec
bugs602008
milestone2.0b7pre
Bug 602008 - Always extract files from APK if the time is different, r=blassey a=blocking-fennec
embedding/android/GeckoApp.java
--- a/embedding/android/GeckoApp.java
+++ b/embedding/android/GeckoApp.java
@@ -403,17 +403,17 @@ abstract public class GeckoApp
             fileEntry = zip.getEntry(name);
         if (fileEntry == null) {
             Log.i("GeckoAppJava", "Can't find " + name + " in " + zip.getName());
             return;
         }
 
         File outFile = new File("/data/data/org.mozilla." + getAppName() + "/" + name);
         if (outFile.exists() &&
-            outFile.lastModified() >= fileEntry.getTime() &&
+            outFile.lastModified() == fileEntry.getTime() &&
             outFile.length() == fileEntry.getSize())
             return;
 
         try {
             File dir = outFile.getParentFile();
             if (!outFile.exists())
                 dir.mkdirs();
         } catch (Exception e) {