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

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

Issue 2132883002: [Remoting Android] Placeholder for DesktopView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 b66b04173fbd7996ef490c2d54ebac460a35ea21..9afd2be15cce1b899a0116cc205b7be5f9819b94 100644
--- a/remoting/android/java/src/org/chromium/chromoting/DesktopView.java
+++ b/remoting/android/java/src/org/chromium/chromoting/DesktopView.java
@@ -13,7 +13,6 @@ import android.graphics.Point;
import android.os.Looper;
import android.os.SystemClock;
import android.text.InputType;
-import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
@@ -75,8 +74,8 @@ public class DesktopView extends SurfaceView implements DesktopViewInterface,
/** Whether the TouchInputHandler has requested animation to be performed. */
private boolean mInputAnimationRunning = false;
- public DesktopView(Context context, AttributeSet attributes) {
Yuwei 2016/07/08 00:30:00 Attributes are now being set in runtime.
- super(context, attributes);
+ public DesktopView(Context context) {
+ super(context);
// Give this view keyboard focus, allowing us to customize the soft keyboard's settings.
setFocusableInTouchMode(true);

Powered by Google App Engine
This is Rietveld 408576698