ANDROID: Don't count boot-to-recovery as a boot attempt.

The slot rollback system is intended for normal boot failures after an
OTA, and therefore, we should not attempt to change slots based on a failure
to boot to recovery (or any other non-normal boot sequence).

Bug: 141272741
Test: cuttlefish boots
Change-Id: I3edc99b5f60635d30aba441dbddb8a29f2e34bfc

Link: https://android-review.googlesource.com/c/platform/external/u-boot/+/1133068/2
Bug: https://baylibre.atlassian.net/browse/RITA-97
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
3 files changed