Merge "Do not add quick settings padding to the content height when in split shade mode" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
009492ebab
@@ -1214,7 +1214,14 @@ public class NotificationPanelViewController extends PanelViewController {
|
||||
updateClockAppearance();
|
||||
}
|
||||
if (!onKeyguard) {
|
||||
stackScrollerPadding = getUnlockedStackScrollerPadding();
|
||||
if (mShouldUseSplitNotificationShade) {
|
||||
// Quick settings are not on the top of the notifications
|
||||
// when in split shade mode (they are on the left side),
|
||||
// so we should not add a padding for them
|
||||
stackScrollerPadding = 0;
|
||||
} else {
|
||||
stackScrollerPadding = getUnlockedStackScrollerPadding();
|
||||
}
|
||||
} else {
|
||||
stackScrollerPadding = mClockPositionResult.stackScrollerPaddingExpanded;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user