TL;DR My app gets minimized (as if the home-button was pushed) when I tap the navigation icon in my toolbar after going from an activity to another one and back.
Detailed flow of actions:
- Open app, Activity1 comes up
- Tap navigation icon (drawer opens normally, I can close and open it any amount of times at this stage, by pressing the navigation icon)
- Tap a drawer menu item which starts Activity2 with flag
FLAG_ACTIVITY_REORDER_TO_FRONT
- After Activity2 finishes loading, tap the navigation icon, drawer opens normally
- Tap the drawer menu item which starts Activity1 with the flag
FLAG_ACTIVITY_REORDER_TO_FRONT
(at this point this Activity exists so is brought to front) - After Activity1 is brought to front, tap navigation icon again to open the drawer
- Drawer starts sliding out from the left but app minimizes before it's out completely
I know the app is minimized because when I open it, Activity1 is on the screen with an open drawer
There's no Exception or log (level is at Verbose) and this happens only on a OnePlus Two (The app works fine on a Nexus 4)