gms: February 2026 updates

* Add privapp_allowlist_com.google.android.ext.services.xml to `PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST`
* Don't override com.android.extservices APEX
* Drop prebuilt AI Core
* Build pixel experience XMLs only for their respective model years

- Drains battery when all are enabled.
This commit is contained in:
2026-01-23 13:27:15 +09:00
parent 412bc60f97
commit 89bcffe531
10 changed files with 49 additions and 48 deletions

View File

@@ -107,7 +107,6 @@ PRODUCT_PACKAGES += \
endif
PRODUCT_PACKAGES += \
AICorePrebuilt-aicore_20250130.00_RC01 \
AdaptiveVPNPrebuilt-10435 \
AmbientStreaming \
AndroidAutoStubPrebuilt \

View File

@@ -71,7 +71,6 @@ endif
# product/priv-app
PRODUCT_PACKAGES += \
AICorePrebuilt-aicore_20250130.00_RC01 \
AdaptiveVPNPrebuilt-10435 \
AmbientStreaming \
BetterBugStub \

View File

@@ -60,7 +60,6 @@ endif
# product/priv-app
PRODUCT_PACKAGES += \
AICorePrebuilt-aicore_20250130.00_RC01 \
AndroidAutoStubPrebuilt \
BetterBugStub \
CarrierLocation \

View File

@@ -44,7 +44,6 @@ PRODUCT_PACKAGES += \
# product/priv-app
PRODUCT_PACKAGES += \
AICorePrebuilt-aicore_20250130.00_RC01 \
AndroidAutoStubPrebuilt \
BetterBugStub \
ConfigUpdater \

View File

@@ -85,17 +85,6 @@ PRODUCT_PACKAGES += \
pixel_experience_2020_midyear \
pixel_experience_2020 \
pixel_experience_2021_midyear \
pixel_experience_2021 \
pixel_experience_2022_midyear \
pixel_experience_2022 \
pixel_experience_2023_midyear \
pixel_experience_2023 \
pixel_experience_2024_midyear \
pixel_experience_2024 \
pixel_experience_2025_midyear \
pixel_experience_2025 \
pixel_experience_2026_midyear \
pixel_experience_2026 \
preinstalled_packages_pixel_experience_2017_and_newer \
preinstalled_packages_pixel_experience_2021_and_newer \
preinstalled-packages-product-pixel-2017-and-newer \
@@ -106,6 +95,51 @@ PRODUCT_PACKAGES += \
preinstalled-packages-product-pixel-2024-and-newer \
spoon
ifneq ($(filter oriole raven panther cheetah lynx tangorpro felix shiba husky akita tokay caiman komodo comet tegu frankel blazer mustang rango, $(LINEAGE_BUILD)),)
PRODUCT_PACKAGES += \
pixel_experience_2021
endif
ifneq ($(filter bluejay panther cheetah lynx tangorpro felix shiba husky akita tokay caiman komodo comet tegu frankel blazer mustang rango, $(LINEAGE_BUILD)),)
PRODUCT_PACKAGES += \
pixel_experience_2022_midyear
endif
ifneq ($(filter panther cheetah lynx tangorpro felix shiba husky akita tokay caiman komodo comet tegu frankel blazer mustang rango, $(LINEAGE_BUILD)),)
PRODUCT_PACKAGES += \
pixel_experience_2022
endif
ifneq ($(filter lynx felix shiba husky akita tokay caiman komodo comet tegu frankel blazer mustang rango, $(LINEAGE_BUILD)),)
PRODUCT_PACKAGES += \
pixel_experience_2023_midyear
endif
ifneq ($(filter shiba husky akita tokay caiman komodo comet tegu frankel blazer mustang rango, $(LINEAGE_BUILD)),)
PRODUCT_PACKAGES += \
pixel_experience_2023
endif
ifneq ($(filter akita tokay caiman komodo comet tegu frankel blazer mustang rango, $(LINEAGE_BUILD)),)
PRODUCT_PACKAGES += \
pixel_experience_2024_midyear
endif
ifneq ($(filter tokay caiman komodo comet tegu frankel blazer mustang rango, $(LINEAGE_BUILD)),)
PRODUCT_PACKAGES += \
pixel_experience_2024
endif
ifneq ($(filter tegu frankel blazer mustang rango, $(LINEAGE_BUILD)),)
PRODUCT_PACKAGES += \
pixel_experience_2025_midyear
endif
ifneq ($(filter frankel blazer mustang rango, $(LINEAGE_BUILD)),)
PRODUCT_PACKAGES += \
pixel_experience_2025
endif
ifneq ($(filter blueline crosshatch sargo bonito flame coral sunfish bramble redfin barbet oriole raven bluejay panther cheetah lynx tangorpro felix shiba husky akita tokay caiman komodo comet tegu, $(LINEAGE_BUILD)),)
PRODUCT_PACKAGES += \
GoogleCamera_6gb_or_more_ram \

View File

@@ -1,30 +0,0 @@
#
# Copyright (C) 2023 Raphielscape LLC.
#
# 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.
#
#
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := AICorePrebuilt-aicore_20250130.00_RC01
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := AICorePrebuilt-aicore_20250130.00_RC01.apk
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_MODULE_CLASS := APPS
LOCAL_PRODUCT_MODULE := true
LOCAL_PRIVILEGED_MODULE := true
LOCAL_OPTIONAL_USES_LIBRARIES := androidx.window.extensions androidx.window.sidecar
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
include $(BUILD_PREBUILT)

View File

@@ -27,7 +27,7 @@ LOCAL_CERTIFICATE := PRESIGNED
LOCAL_MODULE_CLASS := APPS
LOCAL_PRODUCT_MODULE := true
LOCAL_PRIVILEGED_MODULE := true
LOCAL_OPTIONAL_USES_LIBRARIES := android.telephony.satellite org.apache.http.legacy androidx.window.extensions androidx.window.sidecar
LOCAL_OPTIONAL_USES_LIBRARIES := android.telephony.satellite org.apache.http.legacy wear-sdk androidx.window.extensions androidx.window.sidecar
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
include $(BUILD_PREBUILT)

View File

@@ -22,4 +22,5 @@ PRODUCT_PACKAGES += \
privapp_allowlist_com.google.android.ext.services
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
system/etc/permissions/privapp-permissions-google.xml
system/etc/permissions/privapp-permissions-google.xml \
system/etc/permissions/privapp_allowlist_com.google.android.ext.services.xml

View File

@@ -25,6 +25,6 @@ LOCAL_SRC_FILES := GoogleExtServices.apk
LOCAL_CERTIFICATE := platform
LOCAL_MODULE_CLASS := APPS
LOCAL_PRIVILEGED_MODULE := true
LOCAL_OVERRIDES_PACKAGES := ExtServices com.android.extservices
LOCAL_OVERRIDES_PACKAGES := ExtServices
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
include $(BUILD_PREBUILT)