packages/apps/Test/connectivity: 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: Ic5f28ae67fdb7c8ceb1224588621a72fef439e60
diff --git a/PMC/Android.mk b/PMC/Android.mk
index fcd25bd..d868e1d 100644
--- a/PMC/Android.mk
+++ b/PMC/Android.mk
@@ -5,6 +5,7 @@
 LOCAL_STATIC_JAVA_LIBRARIES := android-support-v4 android-support-v13 jsr305
 
 LOCAL_PACKAGE_NAME := PMC
+LOCAL_PRIVATE_PLATFORM_APIS := true
 LOCAL_CERTIFICATE := platform
 LOCAL_DEX_PREOPT := false
 
diff --git a/UID/Android.mk b/UID/Android.mk
index 19851f6..6a83b1d 100644
--- a/UID/Android.mk
+++ b/UID/Android.mk
@@ -18,6 +18,7 @@
 include $(CLEAR_VARS)
 
 LOCAL_PACKAGE_NAME := ConnectivityUIDTest
+LOCAL_SDK_VERSION := current
 LOCAL_CERTIFICATE := platform
 LOCAL_DEX_PREOPT := false