chore: SonarLint fixes
This commit is contained in:
parent
36644a1af2
commit
3a67ed31b2
3 changed files with 2 additions and 7 deletions
|
@ -93,7 +93,7 @@ class MainActivity : AppCompatActivity() {
|
|||
val context = this
|
||||
pairedDevices?.firstOrNull { device ->
|
||||
Log.d(TAG, device.name)
|
||||
device.name.equals("GARMIN HUD")
|
||||
device.name == "GARMIN HUD"
|
||||
}?.apply {
|
||||
Garmin.instance = Garmin(context, this, bluetoothAdapter)
|
||||
Garmin.instance.start()
|
||||
|
|
|
@ -168,7 +168,6 @@ class RouteControl(private val mapControl: MapControl, ui: UI, private val conte
|
|||
mapControl.ui.maneuverView.visibility = View.VISIBLE
|
||||
mapControl.ui.maneuverView.renderManeuvers(maneuvers)
|
||||
Garmin.instance.process(it[0])
|
||||
// dump(maneuvers.value[0])
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue