summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/setup/ChooseDataSimPage.java
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2015-01-27 14:41:35 -0800
committercretin45 <cretin45@gmail.com>2015-01-27 14:41:35 -0800
commit3ce798f2baeaf4409c9336b54dc6e813c7fbf4ba (patch)
tree93195eb7f3ba1ca1eacde1fb6a6280974911c7a6 /src/com/cyanogenmod/setupwizard/setup/ChooseDataSimPage.java
parentd28a24dfa2559cc488f5e89139a9163adc4ed1d7 (diff)
downloadpackages_apps_SetupWizard-3ce798f2baeaf4409c9336b54dc6e813c7fbf4ba.zip
packages_apps_SetupWizard-3ce798f2baeaf4409c9336b54dc6e813c7fbf4ba.tar.gz
packages_apps_SetupWizard-3ce798f2baeaf4409c9336b54dc6e813c7fbf4ba.tar.bz2
SetupWizard: Turn off signal strength listener prior to detach
Change-Id: I4c4b4a3e82067704b6895b9d46997d6e72b38786
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/setup/ChooseDataSimPage.java')
-rw-r--r--src/com/cyanogenmod/setupwizard/setup/ChooseDataSimPage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/setupwizard/setup/ChooseDataSimPage.java b/src/com/cyanogenmod/setupwizard/setup/ChooseDataSimPage.java
index 09286c1..5f355d9 100644
--- a/src/com/cyanogenmod/setupwizard/setup/ChooseDataSimPage.java
+++ b/src/com/cyanogenmod/setupwizard/setup/ChooseDataSimPage.java
@@ -150,10 +150,10 @@ public class ChooseDataSimPage extends SetupPage {
@Override
public void onDetach() {
- super.onDetach();
for (int i = 0; i < mPhoneStateListeners.size(); i++) {
mPhone.listen(mPhoneStateListeners.get(i), PhoneStateListener.LISTEN_NONE);
}
+ super.onDetach();
}
private PhoneStateListener createPhoneStateListener(final SubInfoRecord subInfoRecord) {