Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12bd0c83 authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Minor split IME code cleanup

* Collapse unnecessary if-block

Bug: 396031160
Test: None, no logical changes
Flag: EXEMPT bugfix
Change-Id: I6b3f576a8d97d712e111a33a8336ec52ec13317a
parent 6904a08f
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -1466,12 +1466,8 @@ public final class SplitLayout implements DisplayInsetsController.OnInsetsChange
                // Freeze the configuration size with offset to prevent app get a configuration
                // changed or relaunch. This is required to make sure client apps will calculate
                // insets properly after layout shifted.
                if (mTargetYOffset == 0) {
                    mSplitLayoutHandler.setLayoutOffsetTarget(0, 0, SplitLayout.this);
                } else {
                mSplitLayoutHandler.setLayoutOffsetTarget(0, mTargetYOffset, SplitLayout.this);
            }
            }

            // Make {@link DividerView} non-interactive while IME showing in split mode. Listen to
            // ImePositionProcessor#onImeVisibilityChanged directly in DividerView is not enough