Skip to content

Commit

Permalink
Correct sensor identification for car speed sensor (#4746)
Browse files Browse the repository at this point in the history
* Correct sensor identification for car speed and range remaining

* Revert range remaining change
  • Loading branch information
dshokouhi authored Oct 19, 2024
1 parent 4a727c4 commit 11367c2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ class CarSensorManager :
"mdi:speedometer",
unitOfMeasurement = "m/s",
deviceClass = "speed",
stateClass = SensorManager.STATE_CLASS_MEASUREMENT,
entityCategory = SensorManager.ENTITY_CATEGORY_DIAGNOSTIC
stateClass = SensorManager.STATE_CLASS_MEASUREMENT
),
autoPermissions = listOf("com.google.android.gms.permission.CAR_SPEED"),
automotivePermissions = listOf("android.car.permission.CAR_SPEED", "android.car.permission.READ_CAR_DISPLAY_UNITS")
Expand Down

0 comments on commit 11367c2

Please sign in to comment.