-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Android: Fix freeze on start when the activity was destroyed before
This can be tested by enabling "Don't keep activities" in the developer options. With this option Android will immediately destroy the activity when it is moved to the background. In this case registerBackends will be called the first time before the BackendRegister was created. Because m_backendsRegistered was set to true even if it failed, the final call has no effect. So we need to ensure to set m_backendsRegistered only if a BackendRegister is available. Fixes: QTBUG-132085 Pick-to: 6.8 Change-Id: I2ea1c0e0737c982594ceb06cbaf540399c45e3f4 Reviewed-by: Assam Boudjelthia <[email protected]> (cherry picked from commit 9903242) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
- Loading branch information
Showing
5 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters