Index: components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingV2.java |
diff --git a/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingV2.java b/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingV2.java |
index cd5187e8ca0e10a7cdc0ae1431b7809ea7e10094..d8a825340212511f064fb62e66500636bc976073 100644 |
--- a/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingV2.java |
+++ b/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingV2.java |
@@ -99,7 +99,7 @@ public class GoogleCloudMessagingV2 { |
if (err != null) { |
throw new IOException(err); |
} else { |
- throw new IOException(ERROR_SERVICE_NOT_AVAILABLE); |
+ throw new IOException(ERROR_SERVICE_NOT_AVAILABLE); |
} |
} catch (InterruptedException e) { |
throw new IOException(e.getMessage()); |
@@ -109,9 +109,7 @@ public class GoogleCloudMessagingV2 { |
private void internalRegister(Messenger messenger, String subtype, String... senderIds) { |
Intent intent = new Intent(ACTION_C2DM_REGISTER); |
intent.setPackage(GOOGLE_PLAY_SERVICES_PACKAGE); |
- if (subtype != null) { |
- intent.putExtra("subtype", subtype); |
- } |
+ if (subtype != null) intent.putExtra("subtype", subtype); |
intent.putExtra(EXTRA_MESSENGER, messenger); |
setPackageNameExtra(intent); |
intent.putExtra(EXTRA_SENDER, getFlatSenderIds(senderIds)); |
@@ -195,7 +193,7 @@ public class GoogleCloudMessagingV2 { |
Intent intent = new Intent(ACTION_C2DM_UNREGISTER); |
intent.setPackage(GOOGLE_PLAY_SERVICES_PACKAGE); |
if (subtype != null) { |
- intent.putExtra("subtype", subtype); |
+ intent.putExtra("subtype", subtype); |
} |
intent.putExtra(EXTRA_MESSENGER, messenger); |
setPackageNameExtra(intent); |