summaryrefslogtreecommitdiff
path: root/payload_generator/filesystem_interface.h
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2015-09-22 16:58:10 -0700
committerAlex Deymo <deymo@google.com>2015-09-23 08:43:09 -0700
commit1c4e84af8f365c8ca96b30738e9aea8ed8f83aa8 (patch)
tree9843dec65b670a21745b3bde00663b83e3b5d301 /payload_generator/filesystem_interface.h
parentd7971efc3a8e54042534207a8f34bfe3b6325f3f (diff)
Read official-build and dev-mode from the system properties.
This patch determines whether we are running in "dev-mode" and whehter this is an official build in the "ro.secure" and "ro.debuggable" system properties. To reduce excessive logging output, this patch moved the logging of dev-mode and unofficial builds to the beginning of the program and logs just once. Bug: 24077521 Test: Deployed an -eng build, update_engine thinks it is in dev-mode and non-official build. Change-Id: Ib44823cb27dec3d39e1736d982869742b8211a57
Diffstat (limited to 'payload_generator/filesystem_interface.h')
0 files changed, 0 insertions, 0 deletions