diff options
author | Xavier Ducrohet <xav@android.com> | 2010-05-28 15:07:52 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2010-06-01 17:09:06 -0700 |
commit | fd6c6d2a823a98d885d24626c520a242d40fb9a2 (patch) | |
tree | f61910968373b07f7265789c12c0b5f4116013dd /anttasks/src/com | |
parent | 3c0cfbbc37fb1814522a4b6ddd893228bfda18b7 (diff) | |
download | sdk-fd6c6d2a823a98d885d24626c520a242d40fb9a2.zip sdk-fd6c6d2a823a98d885d24626c520a242d40fb9a2.tar.gz sdk-fd6c6d2a823a98d885d24626c520a242d40fb9a2.tar.bz2 |
Implement mechanics for supports-screens in the multi-apk export.
- detect overlap (apk1 is small, large; apk2 is normal)
- detect non-strictly different supports-screens
- compareTo orders based on support for higher size.
Change-Id: I76251e10c83f1508c9a5b83b638a47b1c0922693
Diffstat (limited to 'anttasks/src/com')
-rw-r--r-- | anttasks/src/com/android/ant/MultiApkExportTask.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/anttasks/src/com/android/ant/MultiApkExportTask.java b/anttasks/src/com/android/ant/MultiApkExportTask.java index 151b81b..8c9ee3e 100644 --- a/anttasks/src/com/android/ant/MultiApkExportTask.java +++ b/anttasks/src/com/android/ant/MultiApkExportTask.java @@ -73,7 +73,7 @@ public class MultiApkExportTask extends Task { String appPackage = getValidatedProperty(antProject, "package"); System.out.println("Multi APK export for: " + appPackage); - String version = getValidatedProperty(antProject, "version"); + String version = getValidatedProperty(antProject, "versionCode"); int versionCode; try { versionCode = Integer.parseInt(version); |