While tempting, just using a android:configChanges = "orientation" in the layout won’t cover everything and I wanted to solve this issue once and for all, so I don’t have to think about it in the future.