mirror of
https://github.com/Evolution-X-Devices/device_google_zuma
synced 2026-01-27 17:24:46 +00:00
Set arm64.memtag.bootctl_supported on non-fullmte products.
This will enable the "Reboot with MTE" developer options button as described in https://source.android.com/docs/security/memory-safety/bootloader-support Bug: 242244112 Test: * all _fullmte products define arm64.memtag.bootctl_supported. * other products do not define arm64.memtag.bootctl_supported. * non-fullmte products support "Reboot with MTE" flow as per the link above. Change-Id: Ic0e301755fb6745be55b2fb502b530495bef4ca0
This commit is contained in:
@@ -42,3 +42,10 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||
|
||||
# ZramWriteback
|
||||
-include hardware/google/pixel/mm/device_gki.mk
|
||||
|
||||
# Indicate that the bootloader supports the MTE developer option switch
|
||||
# (MISC_MEMTAG_MODE_MEMTAG_ONCE), with the exception of _fullmte products that
|
||||
# force enable MTE.
|
||||
ifeq (,$(filter %_fullmte,$(TARGET_PRODUCT)))
|
||||
PRODUCT_PRODUCT_PROPERTIES += ro.arm64.memtag.bootctl_supported=1
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user