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

Commit df630c52 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove <imi> entries with zero <subtype> from subtype.xml"

parents 7d7b9a55 7b1c8d71
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -3275,7 +3275,11 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
                final int packageNum = packageInfos.length;
                for (int i = 0; i < packageNum; ++i) {
                    if (packageInfos[i].equals(imi.getPackageName())) {
                        if (subtypes.length > 0) {
                            mFileManager.addInputMethodSubtypes(imi, subtypes);
                        } else {
                            mFileManager.deleteAllInputMethodSubtypes(imi.getId());
                        }
                        final long ident = Binder.clearCallingIdentity();
                        try {
                            buildInputMethodListLocked(false /* resetDefaultEnabledIme */);