Merge "Fix qs translation on split shade lock screen" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b90a174204
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user