packages/apps/Nfc: 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: Ic5f29ef1e1c3829ba24454e0ffc81f493f53a808
diff --git a/Android.mk b/Android.mk
index 55198ce..742e563 100644
--- a/Android.mk
+++ b/Android.mk
@@ -14,6 +14,7 @@
         $(call all-java-files-under, nci)
 
 LOCAL_PACKAGE_NAME := NfcNci
+LOCAL_PRIVATE_PLATFORM_APIS := true
 LOCAL_CERTIFICATE := platform
 
 LOCAL_JNI_SHARED_LIBRARIES := libnfc_nci_jni
diff --git a/tests/Android.mk b/tests/Android.mk
index 66c22d3..4c27cc5 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -25,6 +25,7 @@
 LOCAL_SRC_FILES := $(call all-java-files-under, src)
 
 LOCAL_PACKAGE_NAME := NfcTests
+LOCAL_PRIVATE_PLATFORM_APIS := true
 LOCAL_CERTIFICATE := platform
 
 LOCAL_INSTRUMENTATION_FOR := NfcNci