From 68da89b6d88c7e9c44db9ea0a2e86f232415d436 Mon Sep 17 00:00:00 2001 From: Jeongik Cha Date: Mon, 25 Nov 2019 20:28:35 +0900 Subject: [PATCH] Move the app to /system_ext As mentioned in go/partitions-in-r, we plan to forbid hidden API in product partition. So this app should be moved to /system_ext because it uses hidden API. It is not permanent, so they can be moved back to /product due to needs if there isn't hidden usage anymore. Bug: 137908189 Test: m Test: check whether device boots successfully Change-Id: Icd2f7fc7021e84fad9980d58688dc640ca4245f8 --- Android.bp | 2 +- CleanSpec.mk | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Android.bp b/Android.bp index 15e36f1af84..b997b911f42 100644 --- a/Android.bp +++ b/Android.bp @@ -50,7 +50,7 @@ android_app { name: "Settings", platform_apis: true, certificate: "platform", - product_specific: true, + system_ext_specific: true, privileged: true, required: ["privapp_whitelist_com.android.settings"], static_libs: ["Settings-core"], diff --git a/CleanSpec.mk b/CleanSpec.mk index 93445f949d0..dd610193221 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -47,6 +47,8 @@ $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Settings_intermediates) $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Settings_intermediates) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/Settings) +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/product/priv-app/Settings) +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/product/priv-app/Settings) # ************************************************ # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST