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

Commit 1ead609e authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Guard accessibility function calls

This is a follow up of I2b0ec091a1.

Change-Id: I2801bd1530556cfa6cc176efac9d9f09f2405892
parent 3903e0d6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -772,8 +772,10 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
    }

    public void onHideWindow() {
        if (AccessibilityUtils.getInstance().isAccessibilityEnabled()) {
            mAccessibilityDelegate.onHideWindow();
        }
    }

    /**
     * Receives hover events from the input framework.