Preventing launcher preload if user setup is not complete

Also fixing some leaks due to not destroying RecentsAnimationDeviceState

Bug: 155350432
Change-Id: I70f510c3db03515d5889f0bcde6a15a9456e9791
This commit is contained in:
Sunny Goyal
2020-06-01 16:18:36 -07:00
parent 2a4dce1402
commit 518d54e3f2
4 changed files with 28 additions and 3 deletions
@@ -78,6 +78,7 @@ final class HomeGestureTutorialController extends TutorialController {
mViewSwipeUpAnimation = new ViewSwipeUpAnimation(mContext, deviceState,
new GestureState(observer, -1));
observer.onDestroy();
deviceState.destroy();
DeviceProfile dp = InvariantDeviceProfile.INSTANCE.get(mContext)
.getDeviceProfile(mContext)