I am facing very strange problem in handling orientation of activity. Let me explain the scenario
I have Activity A and B.Currently A is in landscape mode and B(fixed) is in portrait mode. I am saving state of activity A if user change orientation of A. I went from A (landscape) to B(portrait) so in that case A is in background so it should call onSaveInstance(bundle) method. But it calls and when i come back then A's on Resume() called and i got exception onResume() can not called after onSaveInstance() for A.
This is something , make me annoying.
Update Edit
If both activity can have any orientation. Then activity A onSaveInstance(bundle) does not call while going to B and It works well