android11中删除一些不需要的应用

我们在定制android11的需求的时候,有时候客户不想要一些应用,需要我们移除掉这些应用,为了节省大家的时间,我这边举例了几个删除的例子

具体的路径是在build/make下

diff --git a/target/product/handheld_product.mk b/target/product/handheld_product.mk
--- a/target/product/handheld_product.mk
+++ b/target/product/handheld_product.mk
@@ -22,17 +22,12 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/media_product.mk)
 
 # /product packages
 PRODUCT_PACKAGES += \
-    Browser2 \  //浏览器
-    Calendar \  //日历
     Camera2 \   
-    Contacts \  //通讯录
-    DeskClock \ //时钟
     Gallery2 \
     LatinIME \
     Music \
     OneTimeInitializer \
     preinstalled-packages-platform-handheld-product.xml \
-    QuickSearchBox \   //全局搜索
     SettingsIntelligence \
     frameworks-base-overlays
 
diff --git a/target/product/handheld_system.mk b/target/product/handheld_system.mk
--- a/target/product/handheld_system.mk
+++ b/target/product/handheld_system.mk
@@ -44,7 +44,6 @@ PRODUCT_PACKAGES += \
     CertInstaller \
     clatd \
     clatd.conf \
-    DocumentsUI \  //文件
     DownloadProviderUi \
     EasterEgg \
     ExternalStorageProvider \

你可能感兴趣的:(java)