diff options
author | Yohann Roussel <yroussel@google.com> | 2014-03-28 17:35:02 +0100 |
---|---|---|
committer | Yohann Roussel <yroussel@google.com> | 2014-04-09 14:56:20 +0200 |
commit | 602c6ca8cae4718ba8ff9f65e53305d002479359 (patch) | |
tree | ea27d7ec0e1b77ea6471b4955c57ec71b38d5492 /instrumentation | |
parent | 5516c9ffbddd16c90f17c45caea3f4b59ab360d8 (diff) | |
download | multidex-602c6ca8cae4718ba8ff9f65e53305d002479359.tar.gz |
Change update detection to reduce load time.
Reduces load time if extraction was already made. It appeared that
new ZipFile was really slow because it's preparing much things as
soon as it's instanciated.
The new criteria consist of the last modified time of the apk plus
the crc of the apk's central directory, last modified time should
be enough for nearly all modifications and the crc is here to try
to handle an OTA mixing with dates.
The transition from old criteria to new should be good: since there
will be no stored values they would be detected as a new installation.
Change-Id: Id390b77b03d794b8b7feb91eb0daae1126c6d691
Diffstat (limited to 'instrumentation')
-rw-r--r-- | instrumentation/.classpath | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/instrumentation/.classpath b/instrumentation/.classpath index a4763d1..7bc01d9 100644 --- a/instrumentation/.classpath +++ b/instrumentation/.classpath @@ -3,6 +3,7 @@ <classpathentry kind="src" path="src"/> <classpathentry kind="src" path="gen"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> - <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> + <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> + <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> <classpathentry kind="output" path="bin/classes"/> </classpath> |