Only try to sync to subscribedfeeds for google acounts.

This commit is contained in:
Cynthia Wong
2009-08-25 11:46:00 -07:00
parent dbade9d6a0
commit c30d4aff04

View File

@@ -127,7 +127,9 @@ public class SubscribedFeedsProvider extends AbstractSyncableContentProvider {
protected void onAccountsChanged(Account[] accountsArray) {
super.onAccountsChanged(accountsArray);
for (Account account : accountsArray) {
ContentResolver.setSyncAutomatically(account, "subscribedfeeds", true);
if (account.type.equals("com.google.GAIA")) {
ContentResolver.setSyncAutomatically(account, "subscribedfeeds", true);
}
}
}