Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.9
-
None
-
-
2025wk20s1QtforAndroid
Description
When Android OS kills process upon permissions revoke, subsequent app start fails and displays only blank screen.
Steps to reproduce (with 100% reproduce rate):
- Run declarative-camera app normally with Camera permission enabled
- Let it run on background and go to Android Application Settings and revoke Camera permission
- Switch back to declarative-camera app and the app stays blank.
Initial analysis show that QtActivityBase.java receives onRestoreInstanceState which calls setStarted(true). Subsequent startApplication in QtNative.java bails out early due to this state flag. However, the app is not running normally as the display remains blank.
Attachments
Issue Links
- relates to
-
QTBUG-136077 [Regression 6.8.2->6.8.3] Android apps hang with black screen or splash screen
-
- In Review
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-136497 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
642922,3 | Android: Skip restoring bundle state on process restart | dev | qt/qtbase | Status: NEW | 0 | 0 |