From 2012be24712c2775090afbd3fdf91b49a1e999bf Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Mon, 10 Dec 2018 17:05:08 +0000 Subject: Move Settings/SystemUI permissions to separate files This makes it possible to move the permission around separately from all the other permissions. This permission file is included automatically when the respective app is included. Bug: 110072687 Test: make Change-Id: I91b30561d4a4000334ffbf3b98bb632d962f4b97 Merged-In: I91b30561d4a4000334ffbf3b98bb632d962f4b97 --- data/etc/Android.mk | 19 ++++++++ data/etc/com.android.settings.xml | 51 +++++++++++++++++++++ data/etc/com.android.systemui.xml | 57 ++++++++++++++++++++++++ data/etc/privapp-permissions-platform.xml | 74 ------------------------------- 4 files changed, 127 insertions(+), 74 deletions(-) create mode 100644 data/etc/com.android.settings.xml create mode 100644 data/etc/com.android.systemui.xml (limited to 'data') diff --git a/data/etc/Android.mk b/data/etc/Android.mk index d24c140ad19a..61ef426f510a 100644 --- a/data/etc/Android.mk +++ b/data/etc/Android.mk @@ -48,6 +48,25 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/sysconfig LOCAL_SRC_FILES := $(LOCAL_MODULE) include $(BUILD_PREBUILT) +######################## +include $(CLEAR_VARS) +LOCAL_MODULE := privapp_whitelist_com.android.settings +LOCAL_MODULE_CLASS := ETC +LOCAL_MODULE_RELATIVE_PATH := permissions +LOCAL_MODULE_STEM := com.android.settings.xml +LOCAL_SRC_FILES := com.android.settings.xml +include $(BUILD_PREBUILT) + +######################## +include $(CLEAR_VARS) +LOCAL_MODULE := privapp_whitelist_com.android.systemui +LOCAL_MODULE_CLASS := ETC +LOCAL_MODULE_RELATIVE_PATH := permissions +LOCAL_MODULE_STEM := com.android.systemui.xml +LOCAL_SRC_FILES := com.android.systemui.xml +include $(BUILD_PREBUILT) + + ######################## include $(CLEAR_VARS) LOCAL_MODULE := com.android.timezone.updater.xml diff --git a/data/etc/com.android.settings.xml b/data/etc/com.android.settings.xml new file mode 100644 index 000000000000..2ba8075534b9 --- /dev/null +++ b/data/etc/com.android.settings.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/etc/com.android.systemui.xml b/data/etc/com.android.systemui.xml new file mode 100644 index 000000000000..724a617aac42 --- /dev/null +++ b/data/etc/com.android.systemui.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index 5f047cbed988..07287b1e5eba 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -267,40 +267,6 @@ applications that come with the platform - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -382,46 +348,6 @@ applications that come with the platform - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.3-59-g8ed1b