diff options
| author | Albert I <kras@raphielgang.org> | 2022-04-29 23:42:44 +0800 |
|---|---|---|
| committer | Julian Veit <claymore1298@gmail.com> | 2023-04-15 08:00:10 +0200 |
| commit | c782e91dae2529b110a0ea77f5ccb6d4f94ec4d1 (patch) | |
| tree | 902c93a29a7b0f381fdaf1770758b7b7f644cd80 /code_coverage/empty_policy/code_coverage.x86.policy | |
| parent | 308303e2befafff3d9b087343de320e987a79c86 (diff) | |
init: Use `IsRecoveryMode()` for normal boot checks
Checking androidboot.mode properties will never work on devices where this
property is always absent, primarily non-Pixel devices.
Use existing IsRecoveryMode() check instead which is ugly, but works for this
very purpose.
Change-Id: Idc79fb2bf45f0416b242a1e1aa12bdb07bcf56b9
Signed-off-by: Albert I <kras@raphielgang.org>
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
Diffstat (limited to 'code_coverage/empty_policy/code_coverage.x86.policy')
0 files changed, 0 insertions, 0 deletions
