@Override protected Void doInBackground(Void... params) { Logs.d(TAG, "doInBackground()"); ArrayList<ContentProviderOperation> operations = new ArrayList<ContentProviderOperation>(1); operations.add( ContentProviderOperation.newUpdate(VKContentProvider.CONTENT_URI_MESSAGE) .withSelection( Queries.SELECTION_DIALOG_NOT_MARKED, new String[] {Long.toString(Init.getUserId()), Long.toString(dialogId)}) .withValue(Tables.Columns.LOCAL_STATUS, 1) .build()); VKContentProvider.b(operations); return null; }