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

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

Fix dismiss key preview bug introduced by I658a5b16cc

Change-Id: I5248374dfe0504f6e64cc5d994e275d80364ec9d
parent c96bb3e9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -481,9 +481,9 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack

    @Override
    public void dismissKeyPreview(final Key key) {
        final KeyPreviewChoreographer keyPreviewChoreographer = mKeyPreviewChoreographer;
        if (isHardwareAccelerated()) {
            keyPreviewChoreographer.dismissKeyPreview(key, true /* withAnimation */);
            mKeyPreviewChoreographer.dismissKeyPreview(key, true /* withAnimation */);
            return;
        }
        // TODO: Implement preference option to control key preview method and duration.
        mTimerHandler.postDismissKeyPreview(key, mKeyPreviewDrawParams.getLingerTimeout());