Merge "Refine the condition about force layout" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1284ffd3f5
@@ -1677,7 +1677,8 @@ public final class ViewRootImpl implements ViewParent,
|
||||
|
||||
// See comment for View.sForceLayoutWhenInsetsChanged
|
||||
if (View.sForceLayoutWhenInsetsChanged && mView != null
|
||||
&& mWindowAttributes.softInputMode == SOFT_INPUT_ADJUST_RESIZE) {
|
||||
&& (mWindowAttributes.softInputMode & SOFT_INPUT_MASK_ADJUST)
|
||||
== SOFT_INPUT_ADJUST_RESIZE) {
|
||||
forceLayout(mView);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user