Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Unified Diff: remoting/android/java/src/org/chromium/chromoting/DesktopView.java

Issue 21554002: Enable Android support for Chromoting PINless (paired) authentication (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/android/java/src/org/chromium/chromoting/DesktopView.java
diff --git a/remoting/android/java/src/org/chromium/chromoting/DesktopView.java b/remoting/android/java/src/org/chromium/chromoting/DesktopView.java
index 48062524051b2faa22505f54deceb4f9484cc6af..d4ff0965840571bd6f3fc7abad25424e222dd8c6 100644
--- a/remoting/android/java/src/org/chromium/chromoting/DesktopView.java
+++ b/remoting/android/java/src/org/chromium/chromoting/DesktopView.java
@@ -409,7 +409,8 @@ public class DesktopView extends SurfaceView implements Runnable, SurfaceHolder.
Log.i("mouse", "Finger held down");
if (mMousePressed) {
Log.i("mouse", "\tReleasing the currently-pressed button");
- handleMouseMovement(coordinates, mMouseButton, false);
+ handleMouseMovement(new float[] {coordinates[0], coordinates[1]},
garykac 2013/08/06 20:50:32 Why is this necessary?
solb 2013/08/07 04:30:46 Because in Java, arrays are objects and objects ar
+ mMouseButton, false);
}
Log.i("mouse", "\tStarting right click");

Powered by Google App Engine
This is Rietveld 408576698