Check if the recents animation is still running and whether the app being...
Check if the recents animation is still running and whether the app being restarted is the live tile app in mLiveTileRestartListener mLiveTileRestartListener is originally used to render the animation to launch the app that's the live tile app (for example, settings is the live tile app and we can launch settings from notification shade). However, we don't want this callback to be triggered when the recents animation is finished / live tile is ended because the default animation in that case won't be skipped. The other scenario that we don't want the animation to be rendered here is when the restarted app is not the live tile app. This can be repro'ed in this scenario - launch any app and go to live tile; launch settings; swipe up from settings; launch the previous live tile app. In this case, we rely on the mLaunchOtherTaskHandler take care of the rendering of this animation. Fixes: 181372992 Test: manual Change-Id: I41b63ce5163f1ac136bf8b5909907a3f84d937d8
Loading
Please register or sign in to comment