Loading core/java/android/app/Activity.java +6 −0 Original line number Original line Diff line number Diff line Loading @@ -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; Loading cmds/input/src/com/android/commands/input/Input.java +1 −1 File changed.Contains only whitespace changes. Show changes Loading
core/java/android/app/Activity.java +6 −0 Original line number Original line Diff line number Diff line Loading @@ -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; Loading
cmds/input/src/com/android/commands/input/Input.java +1 −1 File changed.Contains only whitespace changes. Show changes