Merge "Delivering null cursor to loader callbacks." into honeycomb
This commit is contained in:
committed by
Android (Google) Code Review
commit
b01856da54
@@ -353,7 +353,7 @@ class LoaderManagerImpl extends LoaderManager {
|
||||
|
||||
// Notify of the new data so the app can switch out the old data before
|
||||
// we try to destroy it.
|
||||
if (mData != data) {
|
||||
if (data == null || mData != data) {
|
||||
mData = data;
|
||||
if (mStarted) {
|
||||
callOnLoadFinished(loader, data);
|
||||
|
||||
Reference in New Issue
Block a user