Details
-
Bug
-
Resolution: Incomplete
-
P1: Critical
-
None
-
5.7.1, 5.8.0, 5.9.0
-
None
Description
I've got following crash reports from Crashlytics:
Fatal Exception: android.app.SuperNotCalledException
Activity com.mycompany.MySubclassOfQtActivity did not call through to super.onConfigurationChanged()
I don't override onConfigurationChanged, so I've looked on QtActivity.java source where are defined lines
@Override public void onConfigurationChanged(Configuration newConfig) { if (!QtApplication.invokeDelegate(newConfig).invoked) super.onConfigurationChanged(newConfig); }
which will obviously crash if condition is true - super method is not called.
EDIT 1: OK, I looked inside QtApplication.invokeDelegate() code and got how it works. There must be some problem with it (a case when call does not happen), though.
EDIT 2: it must be inside QtApplication.invokeDelegateMethod method - either m_delegateObject is null/wrong or invoke call throws an exception.