Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
4821d474
Commit
4821d474
authored
Apr 09, 2016
by
Don Gagne
Browse files
Turn screen sleep back on correctly
parent
e650a529
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Vehicle/MultiVehicleManager.cc
View file @
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
(
tru
e
);
MobileScreenMgr
::
setKeepScreenOn
(
fals
e
);
}
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment