am 1e576092: Merge change Ifb15e7fe into eclair
Merge commit '1e576092a606b1fc497138b0042cb376cbe9d486' into eclair-mr2
* commit '1e576092a606b1fc497138b0042cb376cbe9d486':
Make call log requeries use background thread.
diff --git a/src/com/android/contacts/RecentCallsListActivity.java b/src/com/android/contacts/RecentCallsListActivity.java
index d892def..547cd45 100644
--- a/src/com/android/contacts/RecentCallsListActivity.java
+++ b/src/com/android/contacts/RecentCallsListActivity.java
@@ -235,6 +235,15 @@
mLabelArray = getResources().getTextArray(com.android.internal.R.array.phoneTypes);
}
+ /**
+ * Requery on background thread when {@link Cursor} changes.
+ */
+ @Override
+ protected void onContentChanged() {
+ // Start async requery
+ startQuery();
+ }
+
void setLoading(boolean loading) {
mLoading = loading;
}