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

Commit ae808d11 authored by Cosmin Băieș's avatar Cosmin Băieș
Browse files

Remove computeImeLayeringTargetIfNeeded

This method was previously called from
ActivityRecord#onAnimationFinished, as part of the legacy transitions.
This caller was recently removed in [1], leaving this method unused.

  [1]: I5742d5e257b2a0edb1dd9ec7e2ca497dec94bf34

Flag: EXEMPT cleanup
Bug: 281029564
Test: n/a
Change-Id: Ie1ef739290917508ff0aca86291b8c7b4af1524c
parent 626cf178
Loading
Loading
Loading
Loading
+0 −7
Original line number Original line Diff line number Diff line
@@ -4214,13 +4214,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();
    }
    }