caf/telephony: 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: I8d81c499b1db80496ce3b3b1bdf2301810d3542c
Merged-In: I4233b9091d9066c4fa69f3d24aaf367ea500f760
diff --git a/ims/ConfURIDialer/Android.mk b/ims/ConfURIDialer/Android.mk
index f799b7f..ae89cfb 100644
--- a/ims/ConfURIDialer/Android.mk
+++ b/ims/ConfURIDialer/Android.mk
@@ -7,6 +7,7 @@
LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_PACKAGE_NAME := ConfURIDialer
+LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_CERTIFICATE := platform
diff --git a/ims/InCallUi/Android.mk b/ims/InCallUi/Android.mk
index f29968c..76be40b 100644
--- a/ims/InCallUi/Android.mk
+++ b/ims/InCallUi/Android.mk
@@ -7,6 +7,7 @@
LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_PACKAGE_NAME := qtiImsInCallUi
+LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_CERTIFICATE := platform