Skip to content

Commit 68da89b

Browse files
committed
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
1 parent a6198c2 commit 68da89b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Android.bp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ android_app {
5050
name: "Settings",
5151
platform_apis: true,
5252
certificate: "platform",
53-
product_specific: true,
53+
system_ext_specific: true,
5454
privileged: true,
5555
required: ["privapp_whitelist_com.android.settings"],
5656
static_libs: ["Settings-core"],

CleanSpec.mk

+2
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Settings_intermediates)
4848
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Settings_intermediates)
4949
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/Settings)
50+
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/product/priv-app/Settings)
51+
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/product/priv-app/Settings)
5052

5153
# ************************************************
5254
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST

0 commit comments

Comments
 (0)