Skip update-on-boot for bootreason in blacklist
Skip the OTA installation when bootreason is 'kernel_panic',
'Panic' etc.
Change-Id: Ic1202492bffefa1a9d8d0e691b5af979285e552c
Test: On angler, ota installation skips for one bootreason in the blacklist.
Bug: 29978689
(cherry picked from commit 27b9fc8a36)
This commit is contained in:
+2
-1
@@ -21,7 +21,8 @@ enum ErrorCode {
|
||||
kNoError = -1,
|
||||
kLowBattery = 20,
|
||||
kZipVerificationFailure,
|
||||
kZipOpenFailure
|
||||
kZipOpenFailure,
|
||||
kBootreasonInBlacklist
|
||||
};
|
||||
|
||||
enum CauseCode {
|
||||
|
||||
Reference in New Issue
Block a user