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

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

Merge "Inject long press documentation"

parents 848d66e0 ccf973fa
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -3521,6 +3521,12 @@ public class Activity extends ContextThemeWrapper
     * Default implementation of {@link KeyEvent.Callback#onKeyLongPress(int, KeyEvent)
     * Default implementation of {@link KeyEvent.Callback#onKeyLongPress(int, KeyEvent)
     * KeyEvent.Callback.onKeyLongPress()}: always returns false (doesn't handle
     * KeyEvent.Callback.onKeyLongPress()}: always returns false (doesn't handle
     * the event).
     * the event).
     *
     * To receive this callback, you must return true from onKeyDown for the current
     * event stream.
     *
     * @see KeyEvent.Callback#onKeyLongPress()
     * @see KeyEvent.Callback#onKeyLongPress(int, KeyEvent)
     */
     */
    public boolean onKeyLongPress(int keyCode, KeyEvent event) {
    public boolean onKeyLongPress(int keyCode, KeyEvent event) {
        return false;
        return false;
+1 −1

File changed.

Contains only whitespace changes.