am b01856da: Merge "Delivering null cursor to loader callbacks." into honeycomb

* commit 'b01856da54892647afed260d017352d58648acc3':
  Delivering null cursor to loader callbacks.
This commit is contained in:
Jeff Hamilton
2011-01-17 11:40:52 -08:00
committed by Android Git Automerger

View File

@@ -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);