Merge "Fix qs translation on split shade lock screen" into sc-v2-dev

This commit is contained in:
TreeHugger Robot
2021-10-27 20:00:13 +00:00
committed by Android (Google) Code Review

View File

@@ -2376,7 +2376,7 @@ public class NotificationPanelViewController extends PanelViewController {
// qsTranslation should only be positive during pulse expansion because it's
// already translating in from the top
qsTranslation = Math.max(0, (top - mQs.getHeader().getHeight()) / 2.0f);
} else {
} else if (!mShouldUseSplitNotificationShade) {
qsTranslation = (top - mQs.getHeader().getHeight()) * QS_PARALLAX_AMOUNT;
}
}