Merge "Fix unnecessarily extended View lifetime in IMMS" into pi-dev am: 3e180afa02
am: 4c607463ce

Change-Id: I370fc0c3c3786ae88a30578033efa9a19c011ca4
diff --git a/services/core/java/com/android/server/InputMethodManagerService.java b/services/core/java/com/android/server/InputMethodManagerService.java
index c0324fa..dd2000f 100644
--- a/services/core/java/com/android/server/InputMethodManagerService.java
+++ b/services/core/java/com/android/server/InputMethodManagerService.java
@@ -3949,6 +3949,7 @@
         if (mSwitchingDialog != null) {
             mSwitchingDialog.dismiss();
             mSwitchingDialog = null;
+            mSwitchingDialogTitleView = null;
         }
 
         updateSystemUiLocked(mCurToken, mImeWindowVis, mBackDisposition);