[Android] Add remote action
Geoffrey Métais
git at videolan.org
Mon Feb 23 18:17:40 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Feb 23 17:25:14 2015 +0100| [a9d02baadbf6e0effca31eeebec08eb002c25848] | committer: Geoffrey Métais
Add remote action
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=a9d02baadbf6e0effca31eeebec08eb002c25848
---
vlc-android/src/org/videolan/vlc/gui/dialogs/PickTimeFragment.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/PickTimeFragment.java b/vlc-android/src/org/videolan/vlc/gui/dialogs/PickTimeFragment.java
index 6be1e6f..df87aa6 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/PickTimeFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/PickTimeFragment.java
@@ -105,6 +105,10 @@ public abstract class PickTimeFragment extends DialogFragment implements DialogI
case KeyEvent.KEYCODE_DPAD_DOWN:
updateViews(keyCode);
return true;
+ case KeyEvent.KEYCODE_DPAD_CENTER:
+ case KeyEvent.KEYCODE_ENTER:
+ case KeyEvent.KEYCODE_NUMPAD_ENTER:
+ executeAction();
}
return false;
}
More information about the Android
mailing list