Skip to content

Commit c7d233d

Browse files
author
Dianne Hackborn
committed
Fix issue #5484096: Device rebooted after turning WiFi tethering ON, IRL19 Crespo.
Change-Id: Iee530ae4adac20eb9637cc1b933a2202f4beb373
1 parent 3c86134 commit c7d233d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/java/com/android/server/TextServicesManagerService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ public void onServiceConnected(ComponentName name, IBinder service) {
691691
}
692692
ISpellCheckerService spellChecker = ISpellCheckerService.Stub.asInterface(service);
693693
final SpellCheckerBindGroup group = mSpellCheckerBindGroups.get(mSciId);
694-
if (this == group.mInternalConnection) {
694+
if (group != null && this == group.mInternalConnection) {
695695
group.onServiceConnected(spellChecker);
696696
}
697697
}

0 commit comments

Comments
 (0)