There is an MP that should work and only works in portrait mode. Can I carelessly declare in the manifest
android:configChanges="orientation|screenSize" to avoid recreating the Activity in a rather rare but unpleasant case:
The user turns off the device screen on the current Activity , changes the orientation and turns it on.
Judging by https://developer.android.com/guide/topics/manifest/activity-element.html and other resources, this should be avoided.