summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-09-17 18:11:15 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-09-17 18:11:15 +0000
commitc32c359ac225ff55dc4f69158dc2d99308eaeffd (patch)
tree9e3ec6189c54d2d1283a9dcbe91b45d88646149f
parent8ec377d8d6d71000466b9265c799f3ea153c783c (diff)
parent1f26c7b23999e9b8e6fe86bca96d0390ef126b8d (diff)
Merge "Fix activity leak in Dialer" into lmp-dev
-rw-r--r--src/com/android/dialer/list/ListsFragment.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/dialer/list/ListsFragment.java b/src/com/android/dialer/list/ListsFragment.java
index 39efa5191..7cc519fe1 100644
--- a/src/com/android/dialer/list/ListsFragment.java
+++ b/src/com/android/dialer/list/ListsFragment.java
@@ -226,6 +226,12 @@ public class ListsFragment extends AnalyticsFragment implements CallLogQueryHand
}
@Override
+ public void onDestroy() {
+ mCallLogAdapter.stopRequestProcessing();
+ super.onDestroy();
+ }
+
+ @Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
final View parentView = inflater.inflate(R.layout.lists_fragment, container, false);