Android 11.0 删除系统APK

Posted 王睿丶

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android 11.0 删除系统APK相关的知识,希望对你有一定的参考价值。

build/target/product/handheld_product.mk

#
# Copyright (C) 2019 The android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# This makefile contains the product partition contents for
# a generic phone or tablet device. Only add something here if
# it definitely doesn't belong on other types of devices (if it
# does, use base_product.mk).
$(call inherit-product, $(SRC_TARGET_DIR)/product/media_product.mk)

# /product packages
PRODUCT_PACKAGES += \\
--    Camera2 \\
--    Gallery2 \\
    LatinIME \\
--    Music \\
    OneTimeInitializer \\
    preinstalled-packages-platform-handheld-product.xml \\
    SettingsIntelligence \\
    frameworks-base-overlays

PRODUCT_PACKAGES_DEBUG += \\
    frameworks-base-overlays-debug

build/target/product/handheld_system.mk

PRODUCT_PACKAGES += \\
    BasicDreams \\
    BlockedNumberProvider \\
    Bluetooth \\
    BluetoothMidiService \\
    BookmarkProvider \\
    BuiltInPrintService \\
    cameraserver \\
    CaptivePortalLogin \\
    CertInstaller \\
    clatd \\
    clatd.conf \\
    DownloadProviderUi \\
    EasterEgg \\
    ExternalStorageProvider \\
    FusedLocation \\
    InputDevices \\
    KeyChain \\
    librs_jni \\
    ManagedProvisioning \\
    MmsService \\
    MtpService \\
--    MusicFX \\
    NfcNci \\
    PacProcessor \\
    PrintRecommendationService \\
    PrintSpooler \\
    ProxyHandler \\
    screenrecord \\
    SecureElement \\
    SharedStorageBackup \\
    SimAppDialog \\
    Telecom \\

device/rockchip/common/device.mk

# Inherit product config
ifeq ($(strip $(TARGET_BOARD_PLATFORM_PRODUCT)), atv)
  $(call inherit-product, device/google/atv/products/atv_base.mk)
  $(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk)
  PRODUCT_PACKAGES += \\
--  				  DocumentsUI \\
                      PlayAutoInstallConfig \\
                      ATVContentProvider \\

PRODUCT_DEXPREOPT_SPEED_APPS += \\
    Camera2 \\
    Contacts \\
    DeskClock \\
--    DocumentsUI \\
    ExactCalculator \\
    Gallery2 \\
    Settings \\
--    SoundRecorder


--  PRODUCT_PACKAGES += \\
--#        SoundRecorder
ifneq ($(strip $(BUILD_WITH_GOOGLE_GMS_EXPRESS)),true)
PRODUCT_PACKAGES += \\
--    Music \\
    WallpaperPicker

vendor/rockchip/common/apps/apps.mk

ifneq ($(strip $(BUILD_WITH_GOOGLE_MARKET)), true)
-- PRODUCT_PACKAGES += \\
--	       Lightning
endif

ifneq ($(strip $(TARGET_BOARD_PLATFORM_PRODUCT)), box)
-- PRODUCT_PACKAGES += \\
--    Rk4kVideoPlayer
endif

我是王睿丶,加入我的Q群:901440630,欢迎一起讨论安卓技术!

以上是关于Android 11.0 删除系统APK的主要内容,如果未能解决你的问题,请参考以下文章

Android 11.0 在闹钟APK,移除时钟音量按钮

Android 11.0 在闹钟APK,长按进入夜间模式,松开退出夜间模式

Android 11.0 开机时自动检测摄像头,有则显示,无则隐藏Camera APK图标

Android 11.0 修复在录音机APK(SoundRecorder),横屏显示时录制时间不能居中

Android 11.0 修复在录音机APK(SoundRecorder),录音时不受外部USB插拔影响

Android 11.0 删除状态栏