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

Commit 51f71c49 authored by Altaf-Mahdi's avatar Altaf-Mahdi Committed by Steve Kondik
Browse files

SystemUI: fix unpinning locked apps

Change-Id: Idbdbbe2d813f17c5ad59fd7ab0383ab6472bd9ce
parent bbb99bce
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -82,13 +82,13 @@ public class KeyButtonView extends ImageView {
                    sendEvent(KeyEvent.ACTION_DOWN, CURSOR_REPEAT_FLAGS,
                            System.currentTimeMillis(), false);
                    postDelayed(mCheckLongPress, ViewConfiguration.getKeyRepeatDelay());
                } else if (mCode != 0) {
                    sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS);
                    sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_LONG_CLICKED);
                } else if (isLongClickable()) {
                    // Just an old-fashioned ImageView
                    mPerformedLongClick = true;
                    performLongClick();
                } else {
                    sendEvent(KeyEvent.ACTION_DOWN, KeyEvent.FLAG_LONG_PRESS);
                    sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_LONG_CLICKED);
                }
            }
        }