Skip to content

Commit 1636204

Browse files
Dianne HackbornAndroid (Google) Code Review
authored andcommitted
Merge "Fix issue #5484096: Device rebooted after turning WiFi tethering ON, IRL19 Crespo." into ics-mr0
2 parents 018cb11 + c7d233d commit 1636204

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)