4a4608a898
In order to build devices on API 28 and above, all vendor apps need to use public, "stable" SDK APIs. Use of LOCAL_PRIVATE_PLATFORM_APIS is not allowed anymore. Noteworthy changes: - The app doesn't need to be privileged. Both permissions have protectionLevel=normal, and the selinux domain can be applied to non-privileged apps just fine. - AudioManager is a wrapper around AudioSystem, at least when it comes to get/setParameters which are used here. - Sim slot count now comes from SubscriptionManager, which internally uses the isub system service and needs an extra selinux permission to retrieve. Note that the Max() variant, which retrieves the number of sim slots, does not require the dangerous permission READ_PHONE_STATE, while the "actual inserted sim count" variant of this function does. - the android.hidl.manager dependency isn't necessary. Signed-off-by: MarijnS95 <marijns95@gmail.com>
17 lines
407 B
Makefile
17 lines
407 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_PACKAGE_NAME := QcRilAm
|
|
LOCAL_CERTIFICATE := platform
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_PROPRIETARY_MODULE := true
|
|
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := vendor.qti.hardware.radio.am-V1.0-java
|
|
|
|
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
|
LOCAL_SDK_VERSION := system_current
|
|
|
|
include $(BUILD_PACKAGE)
|