Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / remoting / android / java / src / org / chromium / chromoting / jni / JniInterface.java
index 83af125..d6dd179 100644 (file)
@@ -318,15 +318,15 @@ public class JniInterface {
     private static void commitPairingCredentials(String host, String id, String secret) {
         // Empty |id| indicates that pairing needs to be removed.
         if (id.isEmpty()) {
-            sContext.getPreferences(Activity.MODE_PRIVATE).edit().
-                    remove(host + "_id").
-                    remove(host + "_secret").
-                    apply();
+            sContext.getPreferences(Activity.MODE_PRIVATE).edit()
+                    .remove(host + "_id")
+                    .remove(host + "_secret")
+                    .apply();
         } else {
-            sContext.getPreferences(Activity.MODE_PRIVATE).edit().
-                    putString(host + "_id", id).
-                    putString(host + "_secret", secret).
-                    apply();
+            sContext.getPreferences(Activity.MODE_PRIVATE).edit()
+                    .putString(host + "_id", id)
+                    .putString(host + "_secret", secret)
+                    .apply();
         }
     }
 
@@ -467,10 +467,14 @@ public class JniInterface {
     }
 
     /** Position of cursor hotspot within cursor image. Called on the graphics thread. */
-    public static Point getCursorHotspot() { return sCursorHotspot; }
+    public static Point getCursorHotspot() {
+        return sCursorHotspot;
+    }
 
     /** Returns the current cursor shape. Called on the graphics thread. */
-    public static Bitmap getCursorBitmap() { return sCursorBitmap; }
+    public static Bitmap getCursorBitmap() {
+        return sCursorBitmap;
+    }
 
     //
     // Third Party Authentication