diff options
author | Tom Cherry <tomcherry@google.com> | 2017-08-24 14:01:25 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2017-08-24 14:24:59 -0700 |
commit | 9951b792b17e57cc8ef22cfa22c7df3d7f24d0d7 (patch) | |
tree | b31ab9d7c2cf51bb9513f0457e58a0f26a737e3b /libunwindstack/tests/MemoryFileTest.cpp | |
parent | 2732a7e0232d77efbf19d7053f5e5d5d39719910 (diff) |
init: do not load persistent properties from temporary /data
With full disk encryption, a temporary /data partition is mounted to
start a minimum subset of the frameworks. Later, once /data can be
decrypted it is mounted again. load_persist_props is called both when
the temporary /data partition is mounted and again after the real
/data is mounted; this is a mistake.
This change checks to see if we're a FDE device and if so, returns the
first time load_persist_props is called.
Test: boot bullhead (FDE) with and without boot pin and check that
persistent properties are loaded
Test: boot sailfish (FBE) and check that persistent properties are loaded
Change-Id: I6ed725072bdb27d80bfa6575d0a4876b08c6a4bc
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions