From 08a11a771c7a4a2f8c04a382f2192da243023bd8 Mon Sep 17 00:00:00 2001 From: Przemyslaw Szczepaniak Date: Thu, 14 Dec 2017 10:00:19 +0000 Subject: [PATCH] Enforce deprecation policy for apps. Android platform drops support for apps that target a very old API level. Apps targeting version earlier than Android Jelly Bean MR1 (2012) will show a warning dialog when starting an activity. Test: atest CtsActivityManagerDeviceTestCases:DeprecatedTargetSdkTest Bug: 63926630 Change-Id: Ia849d67339d5172c09960725b6b1e200df0307d1 --- core/version_defaults.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/version_defaults.mk b/core/version_defaults.mk index 3f5144f00..8a7b684a7 100644 --- a/core/version_defaults.mk +++ b/core/version_defaults.mk @@ -284,5 +284,5 @@ ifndef PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION # Used to set minimum supported target sdk version. Apps targeting sdk # version lower than the set value will fail to install and run on android # device. - PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION := 0 + PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION := 17 endif