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

Commit 9fb8bb8a authored by Steve Kondik's avatar Steve Kondik
Browse files

Fix infinite sync problem.

parent 30b1138c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -135,9 +135,11 @@ public abstract class AbstractSyncableContentProvider extends SyncableContentPro
        public void onCreate(SQLiteDatabase db) {
            bootstrapDatabase(db);
            mSyncState.createDatabase(db);
            if (!isTemporary()) {
                ContentResolver.requestSync(null /* all accounts */,
                    mContentUri.getAuthority(), new Bundle());
            }
        }

        @Override
        public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {