Update source ART APEX version number from 1 to 319999900.
Bump the version number of the ART APEX built from sources (used, in
particular, for development and testing), so that it has a higher
version number that the (Android S) pre-built ART APEX (currently
31071600) and can be installed on devices running an image with such a
pre-built ART APEX.
(cherry picked from commit 646b2de92037f6d97e24560465d82079f3a3f411)
Test: banchan com.android.art x86_64
m SOONG_ALLOW_MISSING_DEPENDENCIES=true
# Check built ART APEX version number.
aapt dump badging $OUT/system/apex/com.android.art.apex
acloud create --local-instance --branch aosp-master \
--build-id 7552277 --build-target aosp_cf_x86_64_phone-userdebug
# Check prebuilt ART APEX version on AVD.
adb shell dumpsys package | grep -A4 com.android.art
adb install $OUT/system/apex/com.android.art.apex
adb reboot
# Check updated ART APEX version on AVD.
adb shell dumpsys package | grep -A4 com.android.art
Bug: 193059742
Change-Id: I1e3147b79c8017692a3de6f2a4cfce42f39c3425
Merged-In: I1e3147b79c8017692a3de6f2a4cfce42f39c3425
diff --git a/build/apex/manifest-art.json b/build/apex/manifest-art.json
index 43a49c8..7d31ade 100644
--- a/build/apex/manifest-art.json
+++ b/build/apex/manifest-art.json
@@ -1,6 +1,6 @@
{
"name": "com.android.art",
- "version": 1,
+ "version": 319999900,
"provideNativeLibs": [
"libjdwp.so"
],