diff options
author | Yifan Hong <elsk@google.com> | 2020-02-20 17:09:55 -0800 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2020-03-05 08:41:43 -0800 |
commit | 1d32aa1a376eb7be0ac294357f4075429a1da305 (patch) | |
tree | bcbab4a8a16764ed31ca748fd39721a155fa6701 /trusty/coverage/coverage_test.cpp | |
parent | ef9e44ae78b4e65a2ced2e3cf0617ce1280fda25 (diff) |
libsnapshot: NeedSnapshotsInFirstStageMount don't test for IsRecovery
Init skips first stage mount entirely in recovery, so
the check is useless. Also, __ANDROID_RECOVERY__ is always
set for first stage init.
Also add logs if rollback indicator is set.
Fixes: 149956852
Test: apply OTA, manually rollback, reboot, see rollback indicator
Change-Id: Iac967baf4b51ea5ce9f6eb962a33cb7ee5819c1d
Merged-In: Iac967baf4b51ea5ce9f6eb962a33cb7ee5819c1d
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions