Commit 4821d474 authored by Don Gagne's avatar Don Gagne

Turn screen sleep back on correctly

parent e650a529
......@@ -167,7 +167,7 @@ void MultiVehicleManager::_deleteVehiclePhase1(Vehicle* vehicle)
if(_vehicles.count() == 0) {
//-- Once no vehicles are connected, we no longer need to keep screen from going off
qCDebug(MultiVehicleManagerLog) << "QAndroidJniObject::restoreScreenOn";
MobileScreenMgr::setKeepScreenOn(true);
MobileScreenMgr::setKeepScreenOn(false);
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment