Add ro.force.debuggable=0 to ADDITIONAL_SYSTEM_PROPERTIES

This should only be set to '1' by flashing debug boot image,
so default to '0' in system/build.prop.

Bug: 223517900
Test: Boot with and without debug boot image and check value of property
Change-Id: I0e0df7d86a31fd771248433513483e8ad600b5ed
This commit is contained in:
Yi-Yo Chiang 2022-06-10 15:28:31 +08:00
parent 10714789a9
commit 70b69de18a

View file

@ -460,6 +460,9 @@ BUILD_WITHOUT_PV := true
ADDITIONAL_SYSTEM_PROPERTIES += net.bt.name=Android
# This property is set by flashing debug boot image, so default to false.
ADDITIONAL_SYSTEM_PROPERTIES += ro.force.debuggable=0
# ------------------------------------------------------------
# Define a function that, given a list of module tags, returns
# non-empty if that module should be installed in /system.