commit | 5262aec653fe124ae40e8888917202821fd3154a | [log] [tgz] |
---|---|---|
author | Wenyi Wang <wenyiw@google.com> | Wed Nov 30 02:26:14 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Wed Nov 30 02:26:14 2016 +0000 |
tree | e2e0aecfbac8008ae25570f1c66df1b69a66ffa7 | |
parent | 025c71dfef4c9b36e7283eac0602fb86bd505b1c [diff] | |
parent | f6fa61fa686e198aa3baebcbe27a0e9a8b08bc9f [diff] |
Unregister broadcast receiver when QC is destroyed am: 1e5b77f73c am: f6fa61fa68 Change-Id: I04449ccadb4fe96ed2cf55bb078b7c3b70d25f3b
diff --git a/src/com/android/contacts/quickcontact/QuickContactActivity.java b/src/com/android/contacts/quickcontact/QuickContactActivity.java index 81a3741..fcd0a50 100644 --- a/src/com/android/contacts/quickcontact/QuickContactActivity.java +++ b/src/com/android/contacts/quickcontact/QuickContactActivity.java
@@ -2560,6 +2560,7 @@ @Override public void onDestroy() { + LocalBroadcastManager.getInstance(this).unregisterReceiver(mListener); super.onDestroy(); }