Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 075ee920 authored by Isaac Chen's avatar Isaac Chen
Browse files

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
parent 053a04f6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
+2 −1
Original line number Diff line number Diff line
@@ -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)
+3 −0
Original line number Diff line number Diff line
@@ -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
+4 −0
Original line number Diff line number Diff line
@@ -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
+3 −0
Original line number Diff line number Diff line
@@ -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
Loading