packages/apps/EmergencyInfo: 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: I0d217c7a39abd268e6027e75889676e50615b9c1
diff --git a/Android.mk b/Android.mk
index 18fa610..fbdb14b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -17,6 +17,7 @@
 include $(CLEAR_VARS)
 
 LOCAL_PACKAGE_NAME := EmergencyInfo
+LOCAL_PRIVATE_PLATFORM_APIS := true
 LOCAL_MODULE_TAGS := eng
 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
 
@@ -44,4 +45,4 @@
 
 include $(BUILD_PACKAGE)
 
-include $(call first-makefiles-under, $(LOCAL_PATH))
\ No newline at end of file
+include $(call first-makefiles-under, $(LOCAL_PATH))
diff --git a/tests/unit/Android.mk b/tests/unit/Android.mk
index 815e9b0..cdbba0a 100644
--- a/tests/unit/Android.mk
+++ b/tests/unit/Android.mk
@@ -29,6 +29,7 @@
 LOCAL_SRC_FILES := $(call all-java-files-under, src)
 
 LOCAL_PACKAGE_NAME := EmergencyInfoUnitTests
+LOCAL_PRIVATE_PLATFORM_APIS := true
 LOCAL_COMPATIBILITY_SUITE := device-tests
 LOCAL_CERTIFICATE := platform