This repository serves as an example of a bug found in Android 8.1.0
All it has are two Activities:
MainActivity
- The manifest restricts it to Portrait orientationMain2Activity
- The manifest has NO restriction on orientation, so you can flip to landscape if you'd like
Issue behavior and steps to reproduce:
- User starts app and enters MainActivity
- User presses button to start Main2Activity and enters it
- User clicks the hardware back button
- User re-enters MainActivity
- User turns the phone 90 degrees (either way) and MainActivity orients to Landscape for less than a second, then flips back to Portrait
Pixel 2 on Android 8.1.0