Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d354d3a authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Make call log requeries use background thread.

parent 376bb3be
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -235,6 +235,15 @@ public class RecentCallsListActivity extends ListActivity
            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;
        }