Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2cf1cf09 authored by satok's avatar satok
Browse files

Fix possible NPE

Bug: 5494803
Change-Id: I6f9d0076405ab7c99076a1168198c2ee70ad5082
parent 16bece04
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -701,7 +701,7 @@ public class TextServicesManagerService extends ITextServicesManager.Stub {
        public void onServiceDisconnected(ComponentName name) {
            synchronized(mSpellCheckerMap) {
                final SpellCheckerBindGroup group = mSpellCheckerBindGroups.get(mSciId);
                if (this == group.mInternalConnection) {
                if (group != null && this == group.mInternalConnection) {
                    mSpellCheckerBindGroups.remove(mSciId);
                }
            }