Commit 0f884579 authored by Don Gagne's avatar Don Gagne

Merge pull request #3178 from DonLakeFlyer/ScreenOn

Turn screen sleep back on correctly
parents 95878a18 4821d474
......@@ -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