From b13117f3ba58c38d516e797beaa5b08378047fe4 Mon Sep 17 00:00:00 2001 From: Andrew Scull Date: Mon, 14 Feb 2022 21:06:37 +0000 Subject: [PATCH] Add ro.boot.microdroid.app_debuggable This property is set in the bootconfig to reflect the debuggability of the payload app. It is consumed microdroid_manager as a DICE input and by compos to make choices based on the debuggability, e.g. not doing test builds in non-debug states. Bug: 219740340 Test: atest ComposHostTestCases Test: atest MicrodroidTests Change-Id: If84710f1fdbab957f5d19ce6ba3daad7e3e65935 --- microdroid/system/private/property_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/microdroid/system/private/property_contexts b/microdroid/system/private/property_contexts index 518ae87c1..3c8027303 100644 --- a/microdroid/system/private/property_contexts +++ b/microdroid/system/private/property_contexts @@ -89,6 +89,7 @@ ro.boot.first_stage_console u:object_r:bootloader_prop:s0 exact string ro.boot.force_normal_boot u:object_r:bootloader_prop:s0 exact string ro.boot.hardware u:object_r:bootloader_prop:s0 exact string ro.boot.logd.enabled u:object_r:bootloader_prop:s0 exact bool +ro.boot.microdroid.app_debuggable u:object_r:bootloader_prop:s0 exact bool ro.boot.microdroid.debuggable u:object_r:bootloader_prop:s0 exact bool ro.boot.slot_suffix u:object_r:bootloader_prop:s0 exact string ro.boot.vbmeta.avb_version u:object_r:bootloader_prop:s0 exact string