We use updatePanelWithAnimation() to make old panel animated out and new panel animated in. But if old panel is in background, we don't need the animation out process. Use a flag mForceCreation to check, if activity is onStop() means it is in background, we don't need the animation. Fixes: 140541182 Test: manual Change-Id: I9a2f555dba5417a108ce35fac25a62cf7a8b1d8b
4.4 KiB
4.4 KiB