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

Commit 3d36cdcd authored by Jean Chalard's avatar Jean Chalard Committed by Android (Google) Code Review
Browse files

Merge "Fix possible NPE in debug mode"

parents c53661f1 51075d14
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -443,10 +443,12 @@ public class AndroidSpellCheckerService extends SpellCheckerService {
                    Log.i(TAG, "IsInDict = " + isInDict);
                    Log.i(TAG, "LooksLikeTypo = " + (!isInDict));
                    Log.i(TAG, "HasLikelySuggestions = " + result.mHasLikelySuggestions);
                    if (null != result.mSuggestions) {
                        for (String suggestion : result.mSuggestions) {
                            Log.i(TAG, suggestion);
                        }
                    }
                }

                // TODO: actually use result.mHasLikelySuggestions
                final int flags =