From 16322a027142db6eaae885dea06b825382bb76b8 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Mon, 10 Dec 2018 17:03:29 +0000 Subject: [PATCH] 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 --- Android.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Android.mk b/Android.mk index 7eb9b6ac071..0fbaacfa157 100644 --- a/Android.mk +++ b/Android.mk @@ -15,6 +15,7 @@ LOCAL_PACKAGE_NAME := Settings LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_CERTIFICATE := platform LOCAL_PRIVILEGED_MODULE := true +LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.settings LOCAL_MODULE_TAGS := optional LOCAL_USE_AAPT2 := true @@ -70,4 +71,4 @@ include $(BUILD_MULTI_PREBUILT) # Use the following include to make our test apk. ifeq (,$(ONE_SHOT_MAKEFILE)) include $(call all-makefiles-under,$(LOCAL_PATH)) -endif \ No newline at end of file +endif