Move SystemUI and its permissions to /product

Since this app is frequently customized by OEMs, it doesn't
fit in the mainline /system image right now. Move it to
/product.

Bug: 110072687
Test: make
Test: boot blueline
Test: atest SystemUITests
Change-Id: If27bcccd62f239f716db5ee7f4f1418d936e1cf4
This commit is contained in:
Anton Hansson
2018-12-10 17:18:15 +00:00
parent 29ca21ba8e
commit 9068f65e4f
3 changed files with 3 additions and 0 deletions

View File

@@ -251,6 +251,7 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/framework/com.android.media.
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/overlay/ExperimentNavigationBarSlim)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/vendor/overlay/ExperimentNavigationBarSlim)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/overlay/ExperimentNavigationBarSlim)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/SystemUI)
# ******************************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST ABOVE THIS BANNER
# ******************************************************************

View File

@@ -63,6 +63,7 @@ LOCAL_MODULE := privapp_whitelist_com.android.systemui
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_RELATIVE_PATH := permissions
LOCAL_MODULE_STEM := com.android.systemui.xml
LOCAL_PRODUCT_MODULE := true
LOCAL_SRC_FILES := com.android.systemui.xml
include $(BUILD_PREBUILT)

View File

@@ -134,6 +134,7 @@ android_app {
],
platform_apis: true,
product_specific: true,
certificate: "platform",
privileged: true,