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

Commit 21478668 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix crash when divider receives imetarget that isn't in a split"

parents d71f157e cfc30932
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -137,7 +137,8 @@ public class Divider extends SystemUI implements DividerView.DividerCallbacks,
                        try {
                            mLastImeTarget = ActivityTaskManager.getTaskOrganizerController()
                                    .getImeTarget(displayId);
                            mShouldAdjustForIme = !mSplitLayout.mDisplayLayout.isLandscape()
                            mShouldAdjustForIme = mLastImeTarget != null
                                    && !mSplitLayout.mDisplayLayout.isLandscape()
                                    && (mLastImeTarget.asBinder()
                                    == mSplits.mSecondary.token.asBinder());
                        } catch (RemoteException e) {