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

Commit 18f730cc authored by android-build-team Robot's avatar android-build-team Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix a condition to reset the current spell checker" into pi-dev

parents 56f39770 4993f4ed
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -397,10 +397,7 @@ public class TextServicesManagerService extends ITextServicesManager.Stub {
                    final String packageName = sci.getPackageName();
                    final int change = isPackageDisappearing(packageName);
                    if (DBG) Slog.d(TAG, "Changing package name: " + packageName);
                    if (// Package disappearing
                            change == PACKAGE_PERMANENT_CHANGE || change == PACKAGE_TEMPORARY_CHANGE
                                    // Package modified
                                    || isPackageModified(packageName)) {
                    if (change == PACKAGE_PERMANENT_CHANGE || change == PACKAGE_TEMPORARY_CHANGE) {
                        SpellCheckerInfo availSci =
                                findAvailSystemSpellCheckerLocked(packageName, tsd);
                        // Set the spell checker settings if different than before