Merge "Remove an obsolete comment"

This commit is contained in:
TreeHugger Robot
2020-02-08 01:21:25 +00:00
committed by Android (Google) Code Review

View File

@@ -664,8 +664,6 @@ public final class InputMethodManager {
*/
@Override
public void setCurrentRootView(ViewRootImpl rootView) {
// If the mCurRootView is losing window focus, release the strong reference to it
// so as not to prevent it from being garbage-collected.
if (mWindowFocusGainFuture != null) {
mWindowFocusGainFuture.cancel(false /* mayInterruptIfRunning */);
mWindowFocusGainFuture = null;