private void startSyncReallyDelete() { android.os.Bundle extras = new android.os.Bundle(); extras.putBoolean(android.content.ContentResolver.SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS , true); extras.putBoolean(android.content.ContentResolver.SYNC_EXTRAS_MANUAL, true); extras.putBoolean(android.content.ContentResolver.SYNC_EXTRAS_EXPEDITED, true); extras.putBoolean(android.content.ContentResolver.SYNC_EXTRAS_UPLOAD, true); android.content.ContentResolver.requestSync(mAccount, mAuthority, extras); }
private void startSyncUndoDeletes() { android.os.Bundle extras = new android.os.Bundle(); extras.putBoolean(android.content.ContentResolver.SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS , true); extras.putBoolean(android.content.ContentResolver.SYNC_EXTRAS_MANUAL, true); extras.putBoolean(android.content.ContentResolver.SYNC_EXTRAS_EXPEDITED, true); extras.putBoolean(android.content.ContentResolver.SYNC_EXTRAS_UPLOAD, true); android.content.ContentResolver.requestSync(mAccount, mAuthority, extras); }
public override void onSaveInstanceState(Bundle outState) { base.onSaveInstanceState(outState); outState.putBoolean("dummy", true); }
public override void onSaveInstanceState(Bundle outState) { base.onSaveInstanceState(outState); outState.putBoolean("dummy", true); }
private void startSyncReallyDelete() { android.os.Bundle extras = new android.os.Bundle(); extras.putBoolean(android.content.ContentResolver.SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS , true); extras.putBoolean(android.content.ContentResolver.SYNC_EXTRAS_MANUAL, true); extras.putBoolean(android.content.ContentResolver.SYNC_EXTRAS_EXPEDITED, true); extras.putBoolean(android.content.ContentResolver.SYNC_EXTRAS_UPLOAD, true); android.content.ContentResolver.requestSync(mAccount, mAuthority, extras); }
private void startSyncUndoDeletes() { android.os.Bundle extras = new android.os.Bundle(); extras.putBoolean(android.content.ContentResolver.SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS , true); extras.putBoolean(android.content.ContentResolver.SYNC_EXTRAS_MANUAL, true); extras.putBoolean(android.content.ContentResolver.SYNC_EXTRAS_EXPEDITED, true); extras.putBoolean(android.content.ContentResolver.SYNC_EXTRAS_UPLOAD, true); android.content.ContentResolver.requestSync(mAccount, mAuthority, extras); }