| 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..fde5cb1e336fc774aaa8e53f5aff5ba3322c91fc 100644
|
| --- a/sync/android/java/src/org/chromium/sync/notifier/InvalidationController.java
|
| +++ b/sync/android/java/src/org/chromium/sync/notifier/InvalidationController.java
|
| @@ -100,9 +100,8 @@ 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);
|
| + // Some types should never receive notifications.
|
| + Set<ModelType> typesToRegister = ModelType.stripNonInvalidationTypes(types);
|
| Intent registerIntent = IntentProtocol.createRegisterIntent(account, allTypes,
|
| typesToRegister);
|
| registerIntent.setClass(mContext, InvalidationService.class);
|
|
|