Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
frame: remove thermal warning post drive screen
Browse files Browse the repository at this point in the history
  • Loading branch information
valish committed Jan 17, 2020
1 parent a12a8c4 commit 479d948
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions frame/app/src/main/java/ai/comma/plus/frame/MainActivity.kt
Expand Up @@ -234,12 +234,7 @@ class MainActivity : Activity(), NewDestinationReceiverDelegate, OffroadNavigati
if (activeApp == UiLayoutState.App.HOME) {
startInnerActivity(OFFROAD_APP)
}
if (ChffrPlusParams.readParam("UpdateAvailable") == "1") {
showActivityView()
} else {
activityOverlayManager!!.show(ActivityOverlayManager.OVERLAY_THERMAL_WARNING)
hideActivityView()
}
showActivityView()
}
}

Expand Down

0 comments on commit 479d948

Please sign in to comment.