Make the Settings permission a required module

This will include the Settings permission file whenever
the Settings app is installed.

Bug: 110072687
Test: make
Change-Id: Ia2548355282498bceeffddb564de32a6cb857c66
This commit is contained in:
Anton Hansson
2018-12-10 17:03:29 +00:00
parent 887fa5c646
commit 16322a0271

View File

@@ -15,6 +15,7 @@ LOCAL_PACKAGE_NAME := Settings
LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_CERTIFICATE := platform LOCAL_CERTIFICATE := platform
LOCAL_PRIVILEGED_MODULE := true LOCAL_PRIVILEGED_MODULE := true
LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.settings
LOCAL_MODULE_TAGS := optional LOCAL_MODULE_TAGS := optional
LOCAL_USE_AAPT2 := true LOCAL_USE_AAPT2 := true
@@ -70,4 +71,4 @@ include $(BUILD_MULTI_PREBUILT)
# Use the following include to make our test apk. # Use the following include to make our test apk.
ifeq (,$(ONE_SHOT_MAKEFILE)) ifeq (,$(ONE_SHOT_MAKEFILE))
include $(call all-makefiles-under,$(LOCAL_PATH)) include $(call all-makefiles-under,$(LOCAL_PATH))
endif endif