Move the app to /system_ext

We plan to forbid hidden API in product partition.
So these apps have to 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: I0662674a66bc54ee4713e5c7ed6ad0db4d342338
This commit is contained in:
Jeongik Cha
2019-12-18 20:43:43 +09:00
parent 8e9583502a
commit 665595541e
4 changed files with 5 additions and 2 deletions

View File

@@ -10,5 +10,5 @@ android_app {
proguard_flags_files: ["proguard.flags"],
},
product_specific: true,
system_ext_specific: true,
}

View File

@@ -49,3 +49,5 @@
# ************************************************
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/WAPPushManager)
$(call add-clean-step, rm -rf $(TARGET_OUT_PRODUCT)/app/WAPPushManager)

View File

@@ -3,7 +3,7 @@ android_app {
srcs: ["src/**/*.java"],
platform_apis: true,
certificate: "platform",
product_specific: true,
system_ext_specific: true,
privileged: true,
optimize: {
proguard_flags_files: ["proguard.flags"],

View File

@@ -44,6 +44,7 @@
#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/WallpaperCropper)
$(call add-clean-step, rm -rf $(TARGET_OUT_PRODUCT)/priv-app/WallpaperCropper)
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST