Merge "Fix HINT_STATE not tracking the entire height of the screen" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-04-06 20:58:26 +00:00
committed by Android (Google) Code Review
@@ -111,7 +111,7 @@ public class NoButtonNavbarToOverviewTouchController extends PortraitStatesTouch
float progressMultiplier = super.initCurrentAnimation();
if (mToState == HINT_STATE) {
// Track the drag across the entire height of the screen.
progressMultiplier = -1 / getShiftRange();
progressMultiplier = -1f / mLauncher.getDeviceProfile().heightPx;
}
return progressMultiplier;
}