Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4025dbd9 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 22618 into eclair

* changes:
  Only try to sync to subscribedfeeds for google acounts.
parents 617b22dc c30d4aff
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -127,9 +127,11 @@ public class SubscribedFeedsProvider extends AbstractSyncableContentProvider {
    protected void onAccountsChanged(Account[] accountsArray) {
        super.onAccountsChanged(accountsArray);
        for (Account account : accountsArray) {
            if (account.type.equals("com.google.GAIA")) {
                ContentResolver.setSyncAutomatically(account, "subscribedfeeds", true);
            }
        }
    }

    @Override
    protected void onDatabaseOpened(SQLiteDatabase db) {