am 16362041: Merge "Fix issue #5484096: Device rebooted after turning WiFi tethering ON, IRL19 Crespo." into ics-mr0

* commit '163620417bc2980528e2079e3456c9600a92e165':
  Fix issue #5484096: Device rebooted after turning WiFi tethering ON, IRL19 Crespo.
This commit is contained in:
Dianne Hackborn
2011-10-19 17:17:29 -07:00
committed by Android Git Automerger

View File

@@ -691,7 +691,7 @@ public class TextServicesManagerService extends ITextServicesManager.Stub {
} }
ISpellCheckerService spellChecker = ISpellCheckerService.Stub.asInterface(service); ISpellCheckerService spellChecker = ISpellCheckerService.Stub.asInterface(service);
final SpellCheckerBindGroup group = mSpellCheckerBindGroups.get(mSciId); final SpellCheckerBindGroup group = mSpellCheckerBindGroups.get(mSciId);
if (this == group.mInternalConnection) { if (group != null && this == group.mInternalConnection) {
group.onServiceConnected(spellChecker); group.onServiceConnected(spellChecker);
} }
} }