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

Commit c30d4aff authored by Cynthia Wong's avatar Cynthia Wong
Browse files

Only try to sync to subscribedfeeds for google acounts.

parent dbade9d6
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) {