Conversation

Android is getting an API to seamlessly transition between screen sizes? Great! because right now it sucks at that. Search for something in Keep. Rotate. The results are now blank. Rotating in Gmail's compose screen will jump the "to" field. Hangouts will close the keyboard.
7
62
Android's support for transitioning screen states is *really* janky and works totally differently on an app-by-app basis. Some will even delete your data. If we're going to be doing screen transitions more often with foldable phones, individual apps will need a lot more polish.
3
26
Replying to
It uses the generic support for saving / restoring activity state. If an app fails to handle this properly, it likely has the same failure for being pushed out of memory in the background and configuration changes other than screen size. Try opening a bunch of other apps to test.
1
1
Replying to and
App devs can set their activity as handling a list of configuration changes like rotation itself, which stops the activity from respawning. It makes rotation seamless but the app is still expected to handle saving/restoring activity state properly for cases like being killed.