am 4025dbd9: Merge change 22618 into eclair
Merge commit '4025dbd97e7e800e9a75f76664453bdb2971c132' into eclair-plus-aosp * commit '4025dbd97e7e800e9a75f76664453bdb2971c132': 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) {
|
protected void onAccountsChanged(Account[] accountsArray) {
|
||||||
super.onAccountsChanged(accountsArray);
|
super.onAccountsChanged(accountsArray);
|
||||||
for (Account account : 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