Android: Don't pause when in multi window mode
When the application is in multi window mode then when pausing it should not suspend the application as it can still be visible in the background. Change-Id: I03a561459b2aa04c808b7d4220cd3e558671dd17 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> (cherry picked from commit 33c24b9b9d0c6ae1899cec2e01bad9df01ca05f6)
This commit is contained in:
parent
46214c96af
commit
d721300fe0
@ -878,7 +878,8 @@ public class QtActivityDelegate
|
||||
|
||||
public void onPause()
|
||||
{
|
||||
QtNative.setApplicationState(ApplicationInactive);
|
||||
if (Build.VERSION.SDK_INT < 24 || !m_activity.isInMultiWindowMode())
|
||||
QtNative.setApplicationState(ApplicationInactive);
|
||||
}
|
||||
|
||||
public void onResume()
|
||||
|
Loading…
x
Reference in New Issue
Block a user