Merge commit 'a4490881a367ab38b29bf3480c035c62974a81b3' * commit 'a4490881a367ab38b29bf3480c035c62974a81b3': Only try to sync to subscribedfeeds for google acounts.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user