Merge "Fix HINT_STATE not tracking the entire height of the screen" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c07ad47255
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user