Enable PRODUCT_COMPATIBLE_PROPERTY for aosp_$arch
GSI Pi (for newly launched devices) need to enable this to pass VtsTrebleSysProp. Bug: 79395858 Test: Built aosp_{arm,arm64,x86,x86_64}. Check system/etc/prop.default and found "ro.actionable_compatible_property.enabled=true". aosp_x86(_64) could boot to home screen. Change-Id: I04a4ff7c5feee7671d727c04c9d9657b63ec0912
This commit is contained in:
parent
053a04f68e
commit
075ee920fb
|
@ -4,7 +4,8 @@ type goldfish_setup_exec, vendor_file_type, exec_type, file_type;
|
|||
|
||||
init_daemon_domain(goldfish_setup)
|
||||
|
||||
set_prop(goldfish_setup, debug_prop);
|
||||
# TODO(b/79502552): Invalid property access from emulator vendor
|
||||
#set_prop(goldfish_setup, debug_prop);
|
||||
allow goldfish_setup self:capability { net_admin net_raw };
|
||||
allow goldfish_setup self:udp_socket { create ioctl };
|
||||
allow goldfish_setup vendor_toolbox_exec:file execute_no_trans;
|
||||
|
|
|
@ -5,5 +5,6 @@ type qemu_props_exec, vendor_file_type, exec_type, file_type;
|
|||
init_daemon_domain(qemu_props)
|
||||
|
||||
set_prop(qemu_props, qemu_prop)
|
||||
set_prop(qemu_props, dalvik_prop)
|
||||
# TODO(b/79502552): Invalid property access from emulator vendor
|
||||
#set_prop(qemu_props, qemu_cmdline)
|
||||
set_prop(qemu_props, qemu_cmdline)
|
||||
|
|
|
@ -27,4 +27,7 @@ PRODUCT_COPY_FILES += \
|
|||
|
||||
include $(SRC_TARGET_DIR)/product/full.mk
|
||||
|
||||
# Needed by Pi newly launched device to pass VtsTrebleSysProp on GSI
|
||||
PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true
|
||||
|
||||
PRODUCT_NAME := aosp_arm
|
||||
|
|
|
@ -43,6 +43,10 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
|||
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_arm64/device.mk)
|
||||
|
||||
include $(SRC_TARGET_DIR)/product/emulator.mk
|
||||
|
||||
# Needed by Pi newly launched device to pass VtsTrebleSysProp on GSI
|
||||
PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true
|
||||
|
||||
PRODUCT_NAME := aosp_arm64
|
||||
PRODUCT_DEVICE := generic_arm64
|
||||
PRODUCT_BRAND := Android
|
||||
|
|
|
@ -28,4 +28,7 @@ PRODUCT_COPY_FILES += \
|
|||
|
||||
include $(SRC_TARGET_DIR)/product/full_x86.mk
|
||||
|
||||
# Needed by Pi newly launched device to pass VtsTrebleSysProp on GSI
|
||||
PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true
|
||||
|
||||
PRODUCT_NAME := aosp_x86
|
||||
|
|
|
@ -41,6 +41,9 @@ $(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86_64/device.mk)
|
|||
|
||||
include $(SRC_TARGET_DIR)/product/emulator.mk
|
||||
|
||||
# Needed by Pi newly launched device to pass VtsTrebleSysProp on GSI
|
||||
PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true
|
||||
|
||||
ifdef NET_ETH0_STARTONBOOT
|
||||
PRODUCT_PROPERTY_OVERRIDES += net.eth0.startonboot=1
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue