Fix issue #5484096: Device rebooted after turning WiFi tethering ON, IRL19 Crespo.

Change-Id: Iee530ae4adac20eb9637cc1b933a2202f4beb373
This commit is contained in:
Dianne Hackborn
2011-10-19 16:55:27 -07:00
parent 3c86134a50
commit c7d233d93f

View File

@ -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);
}
}