diff options
| author | Sandeep Patil <sspatil@google.com> | 2017-02-27 11:33:46 -0800 | 
|---|---|---|
| committer | Sandeep Patil <sspatil@google.com> | 2017-02-27 12:46:18 -0800 | 
| commit | e7a1b3757faa3d354ad3f423fa078132a9a84dd4 (patch) | |
| tree | b38bbf758086796fd3341a811caf05eac07fe3de /libunwindstack/tests/MemoryCacheTest.cpp | |
| parent | 7a5d535cd219707056865caac88571305f99faac (diff) | |
fs_mgr: make is_device_secure() work even in the absence of properties.
During early mount property area is not initialized, and as a result an
'eng' build will always incorrectly be detected as a 'secure' build by
early mount code path resulting into verity error and consequent boot
loop.
The change here makes sure the is_device_secure() check works with /
without properties based on the 'eng' build based build flag so the
early mount code works fine both ways.
Bug: 35791581
Bug: 27805372
Test: Boot sailfish-{eng,userdebug} builds successfully w/ early
mount enabled
Change-Id: Icd101ccad56b669f49b60bbb3005d5be9f53b02b
Signed-off-by: Sandeep Patil <sspatil@google.com>
Diffstat (limited to 'libunwindstack/tests/MemoryCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions
