Crash on rotation from landscape to portrait after connection [v1.2.26]
Steps
- Ensure device is in portrait orientation
- Connect to core
- Rotate to landscape
- Rotate back to portrait
Expected
Quasseldroid handles the rotation.
Actual
Quasseldroid crashes.
Details
Android 10, Pixel 4 XL.
I've sent the crash logs to support
at kuschku.de
as of 12:41 AM EST, subject Crashes on rotation with v1.2.26
. If it's safe to post the logs here, I can attach them to this issue, too.
Snippet:
{
"application": {
"buildConfig": {
"APPLICATION_ID": "com.iskrembilen.quasseldroid",
"BUILD_TYPE": "release",
"DEBUG": false,
"FANCY_VERSION_NAME": "<a href=\"https://git.kuschku.de/justJanne/QuasselDroid-ng/commit/4a9409a67f3b87a935d87524558fbf2621696a76\">v1.2.25-1-g4a9409a6</a>",
"FLAVOR": "",
"GIT_COMMIT_DATE": 1585270969,
"GIT_HEAD": "4a9409a67f3b87a935d87524558fbf2621696a76",
"VERSION_CODE": 1265,
"VERSION_NAME": "v1.2.25-1-g4a9409a6"
},
"installationSource": "com.android.vending",
"versionCode": 1265,
"versionName": "v1.2.25-1-g4a9409a6"
},
"crash": {
"cause": {
"localizedMessage": "Wrong state class, expecting View State but received class androidx.coordinatorlayout.widget.CoordinatorLayout$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/layout_main. Make sure other views do not use the same id.",
"message": "Wrong state class, expecting View State but received class androidx.coordinatorlayout.widget.CoordinatorLayout$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/layout_main. Make sure other views do not use the same id.",
[…]