OSDN Git Service

properties: do not fail in the absence of vendor properties
authorSandeep Patil <sspatil@google.com>
Wed, 17 May 2017 18:33:37 +0000 (11:33 -0700)
committerSandeep Patil <sspatil@google.com>
Wed, 17 May 2017 23:26:59 +0000 (16:26 -0700)
commit03ed4afec45c1c6ddaf6d3dc0abc31f3e9adc165
treee73c7a912f49c1faf1685d49213ed4ce87cb8d08
parentbb67386c850c00e4c9081c61fa88e7554e3e779f
properties: do not fail in the absence of vendor properties

/vendor is not mounted in recovery and so the property initialization
must not fail if the vendor property context is not found.

Bug: 38212419
Test: boot into recovery, mount system and run adb shell getprop

Change-Id: I9f7c2fe2b20da86194eff8e7bf94b2352e50bf27
Signed-off-by: Sandeep Patil <sspatil@google.com>
libc/bionic/system_properties.cpp