Merge "Adjust ime insets for stack scroll layout" into tm-qpr-dev
This commit is contained in:
@@ -1809,7 +1809,8 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable
|
|||||||
@Override
|
@Override
|
||||||
@ShadeViewRefactor(RefactorComponent.COORDINATOR)
|
@ShadeViewRefactor(RefactorComponent.COORDINATOR)
|
||||||
public WindowInsets onApplyWindowInsets(WindowInsets insets) {
|
public WindowInsets onApplyWindowInsets(WindowInsets insets) {
|
||||||
mBottomInset = insets.getSystemWindowInsetBottom();
|
mBottomInset = insets.getSystemWindowInsetBottom()
|
||||||
|
+ insets.getInsets(WindowInsets.Type.ime()).bottom;
|
||||||
|
|
||||||
mWaterfallTopInset = 0;
|
mWaterfallTopInset = 0;
|
||||||
final DisplayCutout cutout = insets.getDisplayCutout();
|
final DisplayCutout cutout = insets.getDisplayCutout();
|
||||||
|
|||||||
Reference in New Issue
Block a user