am 47fc854a: Merge "Fix for a call to startActivity from outside of an app." into honeycomb
* commit '47fc854ae9947e0fe5ca0e33e22a41618ba7523b': Fix for a call to startActivity from outside of an app.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user