Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34454421 authored by Aaqib Ismail's avatar Aaqib Ismail
Browse files

Add NOT_AVAILABLE_POOR_VISIBILITY to ErrorState in HAL

Added NOT_AVAILABLE_POOR_VISIBILITY to ErrorState enum between
NOT_AVAILABLE_SPEED_HIGH and NOT_AVAILABLE_SAFETY to be consistent with
StatusCode.

Bug: 267174892
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest AndroidCarApiTest:ErrorStateTest
Change-Id: Iad0edb555c7d0f6c3f4570cb489663e65eb08fd4
parent 9eee6726
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -38,5 +38,6 @@ enum ErrorState {
  NOT_AVAILABLE_DISABLED = (-2) /* -2 */,
  NOT_AVAILABLE_SPEED_LOW = (-3) /* -3 */,
  NOT_AVAILABLE_SPEED_HIGH = (-4) /* -4 */,
  NOT_AVAILABLE_SAFETY = (-5) /* -5 */,
  NOT_AVAILABLE_POOR_VISIBILITY = (-5) /* -5 */,
  NOT_AVAILABLE_SAFETY = (-6) /* -6 */,
}
+2 −1
Original line number Diff line number Diff line
@@ -34,5 +34,6 @@ enum ErrorState {
    NOT_AVAILABLE_DISABLED = -2,
    NOT_AVAILABLE_SPEED_LOW = -3,
    NOT_AVAILABLE_SPEED_HIGH = -4,
    NOT_AVAILABLE_SAFETY = -5,
    NOT_AVAILABLE_POOR_VISIBILITY = -5,
    NOT_AVAILABLE_SAFETY = -6,
}