Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de0e588a authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Cleaning up some obsolete TODOs and methods

Change-Id: I7c3f1a68fc555899e6a1270aa2ad973197a7ed85
parent 9ea8a69b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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);