am a8cc20e5: Merge "b/3004029 Fixed content resolver loss" into gingerbread
Merge commit 'a8cc20e5fb3d3f34dc2ab1c3f31d348b19afa87b' into gingerbread-plus-aosp * commit 'a8cc20e5fb3d3f34dc2ab1c3f31d348b19afa87b': b/3004029 Fixed content resolver loss
This commit is contained in:
@@ -206,11 +206,11 @@ public class CalendarUtils {
|
|||||||
|
|
||||||
// Update the db
|
// Update the db
|
||||||
ContentValues values = new ContentValues();
|
ContentValues values = new ContentValues();
|
||||||
if (mHandler == null) {
|
if (mHandler != null) {
|
||||||
mHandler = new AsyncTZHandler(context.getContentResolver());
|
mHandler.cancelOperation(mToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
mHandler.cancelOperation(mToken);
|
mHandler = new AsyncTZHandler(context.getContentResolver());
|
||||||
|
|
||||||
// skip 0 so query can use it
|
// skip 0 so query can use it
|
||||||
if (++mToken == 0) {
|
if (++mToken == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user