Index: net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java |
diff --git a/net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java b/net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java |
index 2c9650a05d51ce366aec38c2a90e09f5efb21aa9..53bb1ec85af542fd5864835b8982294004a4d608 100644 |
--- a/net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java |
+++ b/net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Copyright 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -97,8 +97,8 @@ public class NetworkChangeNotifierAutoDetect extends BroadcastReceiver |
*/ |
private void registerReceiver() { |
if (!mRegistered) { |
- mRegistered = true; |
- mContext.registerReceiver(this, mIntentFilter); |
+ mRegistered = true; |
+ mContext.registerReceiver(this, mIntentFilter); |
} |
} |
@@ -107,8 +107,8 @@ public class NetworkChangeNotifierAutoDetect extends BroadcastReceiver |
*/ |
private void unregisterReceiver() { |
if (mRegistered) { |
- mRegistered = false; |
- mContext.unregisterReceiver(this); |
+ mRegistered = false; |
+ mContext.unregisterReceiver(this); |
} |
} |
@@ -189,7 +189,7 @@ public class NetworkChangeNotifierAutoDetect extends BroadcastReceiver |
private static class NetworkConnectivityIntentFilter extends IntentFilter { |
NetworkConnectivityIntentFilter() { |
- addAction(ConnectivityManager.CONNECTIVITY_ACTION); |
+ addAction(ConnectivityManager.CONNECTIVITY_ACTION); |
} |
} |
} |