From de0e588a0731712b5238d3df1c779ca426272164 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Tue, 17 Apr 2018 11:54:48 -0700 Subject: [PATCH] Cleaning up some obsolete TODOs and methods Change-Id: I7c3f1a68fc555899e6a1270aa2ad973197a7ed85 --- .../com/android/quickstep/WindowTransformSwipeHandler.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java b/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java index 51848cc5cd..25539aa754 100644 --- a/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java +++ b/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java @@ -333,7 +333,6 @@ public class WindowTransformSwipeHandler { mStateCallback.setState(STATE_ACTIVITY_MULTIPLIER_COMPLETE | STATE_LAUNCHER_DRAWN); } else { TraceHelper.beginSection("WTS-init"); - // TODO: Implement a better animation for fading in View rootView = activity.getRootView(); rootView.setAlpha(0); rootView.getViewTreeObserver().addOnDrawListener(new OnDrawListener() { @@ -506,8 +505,7 @@ public class WindowTransformSwipeHandler { dp.updateInsets(homeContentInsets); } else { overviewStackBounds = new Rect(0, 0, dp.widthPx, dp.heightPx); - // TODO: Workaround for an existing issue where the home content insets are - // not valid immediately after rotation, just use the stable insets for now + // If we are not in multi-window mode, home insets should be same as system insets. Rect insets = new Rect(); WindowManagerWrapper.getInstance().getStableInsets(insets); dp = dp.copy(mContext);