Prepare for some changes to LoaderManager/Loader.
Sorry it is a bit ugly, it is to allow this change to be
checked in prior to the first stage of the framework change
without breaking the build.
Change-Id: Ic781324da69a06ef30a0b34cd4e16d561c9c7df2
diff --git a/src/com/android/contacts/ContactLoader.java b/src/com/android/contacts/ContactLoader.java
index 7ceef91..e70cf69 100644
--- a/src/com/android/contacts/ContactLoader.java
+++ b/src/com/android/contacts/ContactLoader.java
@@ -981,7 +981,12 @@
mContact = null;
}
- @Override
+ public void reset() {
+ unregisterObserver();
+ mContact = null;
+ mDestroyed = true;
+ }
+
public void destroy() {
unregisterObserver();
mContact = null;