diff options
| author | Jin Qian <jinqian@google.com> | 2017-10-13 18:15:34 -0700 |
|---|---|---|
| committer | Jin Qian <jinqian@google.com> | 2017-10-18 13:50:03 -0700 |
| commit | a8533325d5c7486fb6ba0f44776b82cba067fe6e (patch) | |
| tree | 55045f6a0eb6b6f09cffe5476f83568005eab903 /libmemunreachable/ProcessMappings.h | |
| parent | b049d18b0aa5029cb53b7b11c7e2e2b1fcd949c9 (diff) | |
| download | core-a8533325d5c7486fb6ba0f44776b82cba067fe6e.tar.gz core-a8533325d5c7486fb6ba0f44776b82cba067fe6e.tar.bz2 core-a8533325d5c7486fb6ba0f44776b82cba067fe6e.zip | |
storaged: move proto file to /data/misc_ce/0/storaged
Use proto_stat to indicate status of CE area. Before user_0 unlocks,
storaged detects CE NOT_AVAILABLE when attempting to read the proto
file. It then skips reading/writting the proto.
When user_0 logs in, vold calls onUserStart in storaged, which sets
proto_stat to AVAILABLE. At next event, storaged tries to read the
proto. If it's a success, proto_stat is changed to LOADED. After that,
storaged reads and writes proto normally.
Test: adb shell storaged -u -p
Bug: 63740245
Change-Id: I1fdd42c430e91682f6cc07497fcad5be52489b4e
Diffstat (limited to 'libmemunreachable/ProcessMappings.h')
0 files changed, 0 insertions, 0 deletions
