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

Commit 7a417821 authored by Gilles Debunne's avatar Gilles Debunne Committed by Android Git Automerger
Browse files

am 47fc854a: Merge "Fix for a call to startActivity from outside of an app." into honeycomb

* commit '47fc854a':
  Fix for a call to startActivity from outside of an app.
parents a2909773 47fc854a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -42,9 +42,9 @@ public class LinkMovementMethod extends ScrollingMovementMethod {
            case KeyEvent.KEYCODE_DPAD_CENTER:
            case KeyEvent.KEYCODE_ENTER:
                if (KeyEvent.metaStateHasNoModifiers(movementMetaState)) {
                    if (event.getAction() == KeyEvent.ACTION_DOWN
                            && event.getRepeatCount() == 0) {
                        return action(CLICK, widget, buffer);
                    if (event.getAction() == KeyEvent.ACTION_DOWN &&
                            event.getRepeatCount() == 0 && action(CLICK, widget, buffer)) {
                        return true;
                    }
                }
                break;