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