summaryrefslogtreecommitdiff
path: root/apexer/apexer.py
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-05-16 12:43:06 +0900
committerJiyong Park <jiyong@google.com>2019-05-16 16:56:45 +0900
commit184fcc416e9b662d3349e03b02f9c505db39fd72 (patch)
treed991e080b6542f3dac55ecc40251ec2e0bc6e0ac /apexer/apexer.py
parentfce69cf541c3f7f0b6b29ee0b397275d63910d1d (diff)
Update the default min sdk version for APEXes to 29
APEXes exist starting from Q (29). So updating the min version value to 29. Note: APEXes that are mainline modules for Q (e.g. timezone, conscrypt, ...) are still having min sdk version set to 28 to support beta devices. When we no longer need to support them, we should remove the hard-coded min sdk version from the AndroidManifest.xml for the APEXes. Bug: 131128233 Test: m com.android.runtime.debug and check its min sdk version number Merged-In: Idfaee55c2efb1bbb81c15368001badf95d407782 Change-Id: Idfaee55c2efb1bbb81c15368001badf95d407782 (cherry picked from commit 5331936773b9d101b73a682f312b1c0b23980297)
Diffstat (limited to 'apexer/apexer.py')
-rw-r--r--apexer/apexer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apexer/apexer.py b/apexer/apexer.py
index 35a3f8e..e09e053 100644
--- a/apexer/apexer.py
+++ b/apexer/apexer.py
@@ -361,7 +361,7 @@ def CreateApex(args, work_dir):
if args.target_sdk_version:
cmd.extend(['--target-sdk-version', args.target_sdk_version])
# Default value for minSdkVersion.
- cmd.extend(['--min-sdk-version', '28'])
+ cmd.extend(['--min-sdk-version', '29'])
cmd.extend(['-o', apk_file])
cmd.extend(['-I', args.android_jar_path])
RunCommand(cmd, args.verbose)