Merge "Revert "Add window_extensions to all builds"" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
f853c11bb3
@@ -28,6 +28,3 @@ PRODUCT_PACKAGES += \
|
|||||||
PRODUCT_PACKAGES_SHIPPING_API_LEVEL_34 += \
|
PRODUCT_PACKAGES_SHIPPING_API_LEVEL_34 += \
|
||||||
hwservicemanager \
|
hwservicemanager \
|
||||||
android.hidl.allocator@1.0-service \
|
android.hidl.allocator@1.0-service \
|
||||||
|
|
||||||
# Window Extensions
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions_base.mk)
|
|
||||||
|
@@ -14,14 +14,11 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
# Extension of window_extensions_base.mk to enable the activity embedding
|
# /system_ext packages
|
||||||
# feature for all apps by default. All large screen devices must inherit
|
PRODUCT_PACKAGES += \
|
||||||
# this in build. Optional for other form factors.
|
androidx.window.extensions \
|
||||||
#
|
androidx.window.sidecar
|
||||||
# Indicated whether the Activity Embedding feature should be guarded by
|
|
||||||
# Android 15 to avoid app compat impact.
|
# properties
|
||||||
# If true (or not set), the feature is only enabled for apps with target
|
|
||||||
# SDK of Android 15 or above.
|
|
||||||
# If false, the feature is enabled for all apps.
|
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
persist.wm.extensions.activity_embedding_guard_with_android_15=false
|
persist.wm.extensions.enabled=true
|
||||||
|
@@ -1,34 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2024 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
# The base version of window_extensions.mk to be included on all devices.
|
|
||||||
# Devices that don't support multi-window can choose to drop this.
|
|
||||||
# TODO(b/326009200): Remove from build that doesn't support multi-window.
|
|
||||||
#
|
|
||||||
# Note: by default the Activity Embedding feature is guarded by app's
|
|
||||||
# targetSDK on Android 15 to avoid app compat impact.
|
|
||||||
#
|
|
||||||
# Large screen devices must inherit window_extensions.mk to enable the
|
|
||||||
# Activity Embedding feature for all apps.
|
|
||||||
|
|
||||||
# /system_ext packages
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
androidx.window.extensions \
|
|
||||||
androidx.window.sidecar
|
|
||||||
|
|
||||||
# properties
|
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
|
||||||
persist.wm.extensions.enabled=true
|
|
Reference in New Issue
Block a user