diff options
author | Anton Hansson <hansson@google.com> | 2018-02-22 17:07:38 +0000 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2018-02-22 17:07:38 +0000 |
commit | dc975359bb28c06b9ebdbe2f380a010f009f4583 (patch) | |
tree | 542476bf1b70d7882f22e80168ca75263087648e | |
parent | 27fc8424127a3251dee570c52767f6e08d5aa24d (diff) | |
download | ims-dc975359bb28c06b9ebdbe2f380a010f009f4583.tar.gz |
frameworks/opt/net/ims: Set LOCAL_SDK_VERSION where possible.
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Test: make relevant packages
Bug: 73535841
Change-Id: Ib183fced5e42dee9da8b7518b7e4816eb79a7514
-rw-r--r-- | tests/Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Android.mk b/tests/Android.mk index 32acf23a..e07cab5c 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -20,6 +20,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_PACKAGE_NAME := ImsCommonTests +LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_CERTIFICATE := platform LOCAL_MODULE_TAGS := tests |