summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-09-17 18:41:19 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-17 18:41:19 +0000
commit9cf1b825e0fa92dfee619bbff97199892df33b66 (patch)
treea33492abf85aac997d8ea72eb986b9c63611436e
parenta2e5ed6b44a0aefcf807765eb14522c9b039021b (diff)
parent255bb8c58fe8318ca8c960d3ce17f5a0b78328b3 (diff)
am 255bb8c5: am c32c359a: Merge "Fix activity leak in Dialer" into lmp-dev
* commit '255bb8c58fe8318ca8c960d3ce17f5a0b78328b3': Fix activity leak in Dialer
-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);