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

Commit bfbab8ca authored by Erik's avatar Erik Committed by Android Git Automerger
Browse files

am a8cc20e5: Merge "b/3004029 Fixed content resolver loss" into gingerbread

Merge commit 'a8cc20e5' into gingerbread-plus-aosp

* commit 'a8cc20e5':
  b/3004029 Fixed content resolver loss
parents 42e72e57 a8cc20e5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -206,11 +206,11 @@ public class CalendarUtils {

                // Update the db
                ContentValues values = new ContentValues();
                if (mHandler == null) {
                    mHandler = new AsyncTZHandler(context.getContentResolver());
                if (mHandler != null) {
                    mHandler.cancelOperation(mToken);
                }

                mHandler.cancelOperation(mToken);
                mHandler = new AsyncTZHandler(context.getContentResolver());

                // skip 0 so query can use it
                if (++mToken == 0) {