Cleaning up some obsolete TODOs and methods

Change-Id: I7c3f1a68fc555899e6a1270aa2ad973197a7ed85
This commit is contained in:
Sunny Goyal
2018-04-17 11:54:48 -07:00
parent 9ea8a69bc8
commit de0e588a07
@@ -333,7 +333,6 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity> {
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<T extends BaseDraggingActivity> {
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);