Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear InputMethodManager.sInstance for SDK > P #6880

Merged
merged 1 commit into from Nov 28, 2021
Merged

Conversation

copybara-service[bot]
Copy link

Clear InputMethodManager.sInstance for SDK > P

This fixes a minor case of test pollution when a test interacts with a
TextView.

InputMethodManager.sInstance still gets populated in SDK > P, and it may
contain a reference to a ViewRootImpl (mCurRootView), which causes an Activity
to leak across tests.

This fixes a minor case of test pollution when a test interacts with a
TextView.

InputMethodManager.sInstance still gets populated in SDK > P, and it may
contain a reference to a ViewRootImpl (mCurRootView), which causes an Activity
to leak across tests.

PiperOrigin-RevId: 411153919
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant