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

Commit cc48b1e7 authored by Fred Quintana's avatar Fred Quintana
Browse files

don't request a sync when temp providers are created

parent 250aa068
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) {