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

Commit 65d16121 authored by Cosmin Băieș's avatar Cosmin Băieș Committed by Android (Google) Code Review
Browse files

Merge "Remove computeImeLayeringTargetIfNeeded" into main

parents 4511d3b8 ae808d11
Loading
Loading
Loading
Loading
+0 −7
Original line number Original line Diff line number Diff line
@@ -4215,13 +4215,6 @@ class DisplayContent extends RootDisplayArea implements WindowManagerPolicy.Disp
        return target;
        return target;
    }
    }


    /** Computes and updates the IME layering target in the candidate app window token if needed. */
    void computeImeLayeringTargetIfNeeded(@NonNull ActivityRecord candidate) {
        if (mImeLayeringTarget != null && mImeLayeringTarget.mActivityRecord == candidate) {
            computeImeLayeringTarget(true /* update */);
        }
    }

    private boolean isImeControlledByApp() {
    private boolean isImeControlledByApp() {
        return mImeInputTarget != null && mImeInputTarget.shouldControlIme();
        return mImeInputTarget != null && mImeInputTarget.shouldControlIme();
    }
    }