mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
example 'meshtastic': fix background mode on android; revisions
This commit is contained in:
parent
44bd77cb08
commit
3585e7886a
7 changed files with 13 additions and 3 deletions
|
|
@ -108,6 +108,7 @@ QT::QT() : QObject() {
|
|||
[&](Qt::ApplicationState state) {
|
||||
if (state == Qt::ApplicationInactive) {
|
||||
ble->setBackgroundMode(true);
|
||||
ecl_fun("app:on-background-mode");
|
||||
} else if (state == Qt::ApplicationActive) {
|
||||
ble->setBackgroundMode(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue