commit | 2d4cd90149500e95bc155c2cfe4ac4985005b70f | [log] [tgz] |
---|---|---|
author | Albert I <kras@raphielgang.org> | Fri Apr 29 23:42:44 2022 +0800 |
committer | Jackeagle <jackeagle102@gmail.com> | Sun Oct 08 00:02:40 2023 -0400 |
tree | c0a1b354697f784db09bc7c40884f5319f31cb1f | |
parent | 89a95d9372b6fb2eaa3c953d7c202403e7752396 [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>