Merge "b/3279789 Fixed NPE in CalendarUtils$TimeZoneUtils$AsyncTZHandler.onQueryComplete" into honeycomb
This commit is contained in:
@@ -88,6 +88,12 @@ public class CalendarUtils {
|
||||
@Override
|
||||
protected void onQueryComplete(int token, Object cookie, Cursor cursor) {
|
||||
synchronized (mTZCallbacks) {
|
||||
if (cursor == null) {
|
||||
mTZQueryInProgress = false;
|
||||
mFirstTZRequest = true;
|
||||
return;
|
||||
}
|
||||
|
||||
boolean writePrefs = false;
|
||||
// Check the values in the db
|
||||
int keyColumn = cursor.getColumnIndexOrThrow(CalendarCache.KEY);
|
||||
|
||||
Reference in New Issue
Block a user