Index: sync/android/java/src/org/chromium/sync/notifier/InvalidationController.java |
diff --git a/sync/android/java/src/org/chromium/sync/notifier/InvalidationController.java b/sync/android/java/src/org/chromium/sync/notifier/InvalidationController.java |
index b912599eab3220afa2ad6056d2880f2e52cbeb24..03255d16f3d221b50d9f9b32ace49532b177076b 100644 |
--- a/sync/android/java/src/org/chromium/sync/notifier/InvalidationController.java |
+++ b/sync/android/java/src/org/chromium/sync/notifier/InvalidationController.java |
@@ -100,11 +100,7 @@ public class InvalidationController implements ActivityStatus.StateListener { |
* @param types Set of types for which to register. Ignored if {@code allTypes == true}. |
*/ |
public void setRegisteredTypes(Account account, boolean allTypes, Set<ModelType> types) { |
- Set<ModelType> typesToRegister = types; |
- // Proxy types should never receive notifications. |
- typesToRegister.remove(ModelType.PROXY_TABS); |
- Intent registerIntent = IntentProtocol.createRegisterIntent(account, allTypes, |
- typesToRegister); |
+ Intent registerIntent = IntentProtocol.createRegisterIntent(account, allTypes, types); |
registerIntent.setClass(mContext, InvalidationService.class); |
mContext.startService(registerIntent); |
} |