bf1f360793c466dae12f8bc386161353355f2b28 |
|
14-Sep-2012 |
Chiao Cheng <chiaocheng@google.com> |
Adding custom AsyncQueryHandler to prevent null cursors. In safe mode, a cursor can come back as null even though our providers never allow for that. NoNullCursorAsyncQueryHandler should be used instead of AsyncQueryHandler from now on. It will return EmptyCursor in place of a null. Bug: 7012260 Change-Id: I5b8ba6fb85ae0f984ee8b0ff2f2f068232a03848
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/NoNullCursorAsyncQueryHandler.java
|