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

Commit 3408c8bf authored by Antonio Kantek's avatar Antonio Kantek Committed by Android (Google) Code Review
Browse files

Merge "Input method codehealth small enhancements" into main

parents 76582919 2fbfac69
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -33,9 +33,6 @@ final class HardwareKeyboardShortcutController {
    @GuardedBy("ImfLock.class")
    private final ArrayList<InputMethodSubtypeHandle> mSubtypeHandles = new ArrayList<>();

    HardwareKeyboardShortcutController() {
    }

    @GuardedBy("ImfLock.class")
    void update(@NonNull InputMethodSettings settings) {
        mSubtypeHandles.clear();
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ final class InputMethodDeviceConfigs {
                if (KEY_HIDE_IME_WHEN_NO_EDITOR_FOCUS.equals(name)) {
                    mHideImeWhenNoEditorFocus = properties.getBoolean(name,
                            true /* defaultValue */);
                    break;
                }
            }
        };
+1 −0
Original line number Diff line number Diff line
@@ -394,6 +394,7 @@ final class ZeroJankProxy implements IInputMethodManagerImpl.Callback {
                                    flags),
                    this::offload).get();
        } catch (InterruptedException e) {
            Thread.currentThread().interrupt();
            throw new RuntimeException(e);
        } catch (ExecutionException e) {
            throw new RuntimeException(e);