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

This commit is contained in:
Dianne Hackborn
2011-10-19 17:15:39 -07:00
committed by Android (Google) Code Review

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