summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorsatok <satok@google.com>2011-11-17 07:48:17 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-11-17 07:48:17 -0800
commit8bc972a5a4c3e24d1b9ba9b1dd4b4e2bbb5dadac (patch)
treeb5a3565cdf3b2360cbd26fcfa4ee68d0479df559 /core
parent28b23cdef491a270d6fcd4d60f5aebef3f10f370 (diff)
parent9e502e90b58b4d0bbb792ef1c40dcfd9b9322ce8 (diff)
downloadframeworks_base-8bc972a5a4c3e24d1b9ba9b1dd4b4e2bbb5dadac.zip
frameworks_base-8bc972a5a4c3e24d1b9ba9b1dd4b4e2bbb5dadac.tar.gz
frameworks_base-8bc972a5a4c3e24d1b9ba9b1dd4b4e2bbb5dadac.tar.bz2
am 9e502e90: am e5febfd5: Merge "Clean up the spell checker framework" into ics-mr1
* commit '9e502e90b58b4d0bbb792ef1c40dcfd9b9322ce8': Clean up the spell checker framework
Diffstat (limited to 'core')
-rw-r--r--core/java/android/view/textservice/SpellCheckerSession.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/view/textservice/SpellCheckerSession.java b/core/java/android/view/textservice/SpellCheckerSession.java
index 0eb6e27..489587e 100644
--- a/core/java/android/view/textservice/SpellCheckerSession.java
+++ b/core/java/android/view/textservice/SpellCheckerSession.java
@@ -201,7 +201,7 @@ public class SpellCheckerSession {
private static final int TASK_CLOSE = 3;
private final Queue<SpellCheckerParams> mPendingTasks =
new LinkedList<SpellCheckerParams>();
- private final Handler mHandler;
+ private Handler mHandler;
private boolean mOpened;
private ISpellCheckerSession mISpellCheckerSession;
@@ -334,6 +334,7 @@ public class SpellCheckerSession {
try {
mISpellCheckerSession.onClose();
mISpellCheckerSession = null;
+ mHandler = null;
} catch (RemoteException e) {
Log.e(TAG, "Failed to close " + e);
}