Bug 602008 - Always extract files from APK if the time is different, r=blassey a=blocking-fennec
authorMichael Wu <mwu@mozilla.com>
Tue, 05 Oct 2010 16:48:33 -0700
changeset 54942 dee1e01fd8ed0fb92be81765b4132709ccff80e2
parent 54941 13b0effff79db87c4745b5325b22f0e7fbacb44c
child 54946 9a00cdcdb86936c0984a8ffd0df77d8dc8c381eb
push id16094
push usermwu@mozilla.com
push dateTue, 05 Oct 2010 23:57:08 +0000
treeherdermozilla-central@6bd3e0d8c5d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersblassey, blocking-fennec
bugs602008
milestone2.0b7pre
first release with
nightly linux32
dee1e01fd8ed / 4.0b7pre / 20101006025822 / files
nightly linux64
dee1e01fd8ed / 4.0b7pre / 20101006030719 / files
nightly mac
dee1e01fd8ed / 4.0b7pre / 20101006030345 / files
nightly win32
dee1e01fd8ed / 4.0b7pre / 20101006041601 / files
nightly win64
dee1e01fd8ed / 4.0b7pre / 20101006030555 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
@@ -382,17 +382,17 @@ abstract public class GeckoApp
             fileEntry = zip.getEntry(name);
         if (fileEntry == null)
             throw new FileNotFoundException("Can't find " + name + " in " +
                                             zip.getName());
 
         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;
 
         File dir = outFile.getParentFile();
         if (!outFile.exists())
             dir.mkdirs();
 
         InputStream fileStream;