Index: remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java |
diff --git a/remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java b/remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java |
index b00f6c543864fd9888da0c370c5d051cc02a77da..7e30a68c590eba6945156c4caf196a70c23ac0ae 100644 |
--- a/remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java |
+++ b/remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java |
@@ -118,12 +118,12 @@ public class JniInterface { |
/** Reports whenever the connection status changes. */ |
private static void reportConnectionStatus(int state, int error) { |
- if (state==SUCCESSFUL_CONNECTION) { |
+ if (state == SUCCESSFUL_CONNECTION) { |
sSuccessCallback.run(); |
} |
Toast.makeText(sContext, sContext.getResources().getStringArray( |
- R.array.protoc_states)[state] + (error!=0 ? ": " + |
+ R.array.protoc_states)[state] + (error != 0 ? ": " + |
sContext.getResources().getStringArray(R.array.protoc_errors)[error] : ""), |
Toast.LENGTH_SHORT).show(); |
} |
@@ -188,7 +188,7 @@ public class JniInterface { |
* This should not be called from the UI thread. (We prefer the native graphics thread.) |
*/ |
public static Bitmap retrieveVideoFrame() { |
- if (Looper.myLooper()==Looper.getMainLooper()) { |
+ if (Looper.myLooper() == Looper.getMainLooper()) { |
Log.w("deskview", "Canvas being redrawn on UI thread"); |
} |