[Libreoffice-commits] core.git: android/sdremote
Michael Meeks
michael.meeks at suse.com
Wed Feb 13 05:53:20 PST 2013
android/sdremote/src/org/libreoffice/impressremote/PresentationActivity.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 03b941e9ae63626a3336aabdb6a3485835ec6f9d
Author: Michael Meeks <michael.meeks at suse.com>
Date: Wed Feb 13 13:51:08 2013 +0000
sdremote: avoid crash when fiddling with elapsed time.
diff --git a/android/sdremote/src/org/libreoffice/impressremote/PresentationActivity.java b/android/sdremote/src/org/libreoffice/impressremote/PresentationActivity.java
index 0de6b32..d3a0352 100644
--- a/android/sdremote/src/org/libreoffice/impressremote/PresentationActivity.java
+++ b/android/sdremote/src/org/libreoffice/impressremote/PresentationActivity.java
@@ -485,7 +485,7 @@ public class PresentationActivity extends SherlockFragmentActivity {
@Override
public boolean onEditorAction(TextView tv, int aID, KeyEvent aEvent) {
- if (aEvent.getKeyCode() == KeyEvent.KEYCODE_ENTER) {
+ if (aEvent != null && aEvent.getKeyCode() == KeyEvent.KEYCODE_ENTER) {
long aTime = 0;
try {
More information about the Libreoffice-commits
mailing list