diff options
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2017-12-06 11:58:09 +0000 |
---|---|---|
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2017-12-12 11:47:12 +0000 |
commit | ab223112d1a163e641e7c1adb6429e27e37675a6 (patch) | |
tree | 290ee444ddd504cfe55de6a64c95d0a3f9e2ecf1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 73b6bc86af1b5f278b83ff14365d63929b0553b7 (diff) |
Reject apks targeting deprecated sdk
As part of deprecation policy enforcement for android apps, minimum
supported targetSdkVersion will be 17. Apks targeting values lower that
one set in PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION will fail to install.
PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION is currently set to 0 and
will be set to 17 in a following cl.
Installation of deprecated apks can be forced using adb install
--force-sdk flag.
More details in http://go/android-platform-deprecation-policy.
Test: tests are in complementary Cts cl.
Bug: 63926630
Change-Id: I8e55bdebf1fb2cfd951e2c6703ccc87b8d4e9a09
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions