Expected behavior
When I clicked on the "Login" from the LastFM category, the "Login to LastFM" dialog comes up. I expected the app to rotate to landscape and back to portrait with the dialog, successfully without crashing.
Actual behavior
When I clicked on "Login" under LastFM which is in the Settings Activity, the "Login to LastFM" dialog comes up, when I rotate the screen to landscape it rotates successfully but on rotating it back to portrait view, the app crashes.
How to reproduce
- Download the app from play store
- Launch the app
- At the Home Activity, from the Nav drawer or from the Menu options, click on "Settings"
- In the "Settings" Activity, scroll down to LastFM category and Click on "Login"
- Dialog comes up, Rotate the screen to landscape
- Rotate it back to portrait view
- App crashes and Exit
- App Version : Version 1.6
- Device : Gionee A1 Lite
- Operating system: Android 7.0
Recording Of The Bug
Posted on Utopian.io - Rewarding Open Source Contributors