Android: Notify listener about app state changes when quitting
Specifically the isStarted flag is set to false in QtNative.quitApp. This should be listened to by functionality interface providers to unregister their interfaces, in case the Activity is restarted. Task-number: QTBUG-118874 Change-Id: Iadf5ab548c4e865c89ed4b83d258f09d6c767e16 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>bb10
parent
e46adeb599
commit
9efe78a2a1
|
|
@ -352,7 +352,7 @@ class QtNative
|
|||
if (isServiceValid())
|
||||
m_service.get().stopSelf();
|
||||
m_stateDetails.isStarted = false;
|
||||
// Likely no use to call notifyAppStateDetailsChanged at this point since we are exiting
|
||||
notifyAppStateDetailsChanged(m_stateDetails);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue