summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-10-19 16:55:27 -0700
committerDianne Hackborn <hackbod@google.com>2011-10-19 16:55:27 -0700
commitc7d233d93f84fce9877c3eb645bbb515baf0dc0a (patch)
tree30c45baec612ba4cb683cf057f069d2dc92c2cd0 /services
parent3c86134a50618605c86eb9f5f120dbf97826e3e1 (diff)
downloadframeworks_base-c7d233d93f84fce9877c3eb645bbb515baf0dc0a.zip
frameworks_base-c7d233d93f84fce9877c3eb645bbb515baf0dc0a.tar.gz
frameworks_base-c7d233d93f84fce9877c3eb645bbb515baf0dc0a.tar.bz2
Fix issue #5484096: Device rebooted after turning WiFi tethering ON, IRL19 Crespo.
Change-Id: Iee530ae4adac20eb9637cc1b933a2202f4beb373
Diffstat (limited to 'services')
-rw-r--r--services/java/com/android/server/TextServicesManagerService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/TextServicesManagerService.java b/services/java/com/android/server/TextServicesManagerService.java
index 788ecda..a653322 100644
--- a/services/java/com/android/server/TextServicesManagerService.java
+++ b/services/java/com/android/server/TextServicesManagerService.java
@@ -691,7 +691,7 @@ public class TextServicesManagerService extends ITextServicesManager.Stub {
}
ISpellCheckerService spellChecker = ISpellCheckerService.Stub.asInterface(service);
final SpellCheckerBindGroup group = mSpellCheckerBindGroups.get(mSciId);
- if (this == group.mInternalConnection) {
+ if (group != null && this == group.mInternalConnection) {
group.onServiceConnected(spellChecker);
}
}