Forum Discussion
What could cause an app crash during spanning across both screen?
I just tried out the latest version of Adobe's "https://play.google.com/store/apps/details?id=com.adobe.spark.post&hl=de&gl=US" app. But as I performed the gesture to span the app across both screen the app crashed - reproducible.
This is not an Adobe bug report, this is just what could cause such behaviors to avoid it in our own apps?
Hi Tobias, thanks for your report and question.
Actually, we got a similar bug from another third-party partner, which is caused by not handling the "screenLayout" and "smallestScreenSize" configuration changes properly. You can handle these configuration changes in your apps to avoid the potential crash during the spanning and unspanning.
Or you can use Jetpack WindowManager to handle these foldable scenarios. Please refer to our document for more details. https://docs.microsoft.com/en-us/dual-screen/android/jetpack/window-manager/
2 Replies
- joyliuFormer Employee
Hi Tobias, thanks for your report and question.
Actually, we got a similar bug from another third-party partner, which is caused by not handling the "screenLayout" and "smallestScreenSize" configuration changes properly. You can handle these configuration changes in your apps to avoid the potential crash during the spanning and unspanning.
Or you can use Jetpack WindowManager to handle these foldable scenarios. Please refer to our document for more details. https://docs.microsoft.com/en-us/dual-screen/android/jetpack/window-manager/