[Android] Use a smaller versionCode for flavours

Jean-Baptiste Kempf git at videolan.org
Fri Feb 6 10:46:06 CET 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Feb  6 10:44:58 2015 +0100| [7e68d01e7a5be8ea40c2bca6a3dab84755070f9a] | committer: Jean-Baptiste Kempf

Use a smaller versionCode for flavours

Use only one digit for major version, so we have more space (max is 2e9)

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=7e68d01e7a5be8ea40c2bca6a3dab84755070f9a
---

 vlc-android/AndroidManifest.xml |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index df1357f..bc5de67 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -2,12 +2,12 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="org.videolan.vlc"
     android:installLocation="auto"
-    android:versionCode="001010000"
+    android:versionCode="01010000"
     android:versionName="1.1.0-git" >
     <!--
-         versionCode scheme is T MM NN RR AA
+         versionCode scheme is T M NN RR AA
          T: Target/Flavour (0 for Android, 1 for ATV, 2 for Chrome?)
-         MM: Major version from 00 to 99
+         M: Major version from 0 to 9
          NN: Minor version from 00 to 99
          RR: Micro/Revision version from 00 to 99
          AA: ABI from 0 to 99



More information about the Android mailing list