简体   繁体   English

如何在AOSP构建中隐藏已安装的应用程序?

[英]How do I hide installed apps in an AOSP build?

I need to hide an installed app (eg Settings, Calendar), in AOSP build, for example, the app shouldn't be listed in launcher to user. 我需要在AOSP构建中隐藏已安装的应用程序(例如,设置,日历),例如,应用程序不应该在启动器中列出到用户。 Any ideias? 任何想法?

Here is the path for all the pre-loaded application. 这是所有预加载应用程序的路径。 These apps can be removed from the PRODUCT_PACKAGES list. 可以从PRODUCT_PACKAGES列表中删除这些应用。

/device/qcom/common/base.mk /device/qcom/common/base.mk

PRODUCT_PACKAGES := \
    Calendar \
    Settings \

This will remove the apk from the system image itself. 这将从系统映像本身中删除apk。 If you want to remove only from the launcher then you may need to make changes in launcher app or either Calendar and Settings apps. 如果您只想从启动器中删除,则可能需要在启动器应用或日历和设置应用中进行更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM