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

Commits on Nov 28, 2021

  1. 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.
    
    PiperOrigin-RevId: 411153919
    hoisie committed Nov 28, 2021
    Copy the full SHA
    5a1f02a View commit details
    Browse the repository at this point in the history