summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Paulo Just Peixoto <just1982@gmail.com>2017-03-31 23:19:01 -0300
committerJoão Paulo Just Peixoto <just1982@gmail.com>2017-04-04 21:32:06 +0000
commitfa4d7a7a6e2978bd7d9ab79a570ab5ce21933e3b (patch)
tree46bb0b2f8efe7384b8e3d338657ab8c57d91a273
parent17e633ff88239dfc4c3f46abbe3cb257a404687a (diff)
downloadandroid_packages_apps_CellBroadcastReceiver-cm-14.1_old.tar.gz
android_packages_apps_CellBroadcastReceiver-cm-14.1_old.tar.bz2
android_packages_apps_CellBroadcastReceiver-cm-14.1_old.zip
CellBroadcastReceiver: fix channel 50 not disablingcm-14.1_old
Change-Id: I0d5174606dcd19ea896603be9c005fb1297e8221
-rw-r--r--src/com/android/cellbroadcastreceiver/CellBroadcastSettings.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/com/android/cellbroadcastreceiver/CellBroadcastSettings.java b/src/com/android/cellbroadcastreceiver/CellBroadcastSettings.java
index 77aadc20..f8387681 100644
--- a/src/com/android/cellbroadcastreceiver/CellBroadcastSettings.java
+++ b/src/com/android/cellbroadcastreceiver/CellBroadcastSettings.java
@@ -353,13 +353,6 @@ public class CellBroadcastSettings extends PreferenceActivity {
}
if (mChannel50CheckBox != null) {
- if(SubscriptionManager.getBooleanSubscriptionProperty(subId,
- SubscriptionManager.CB_CHANNEL_50_ALERT,
- getResources().getBoolean(R.bool.def_channel_50_enabled),getContext())) {
- mChannel50CheckBox.setChecked(true);
- } else {
- mChannel50CheckBox.setChecked(false);
- }
mChannel50CheckBox.setOnPreferenceChangeListener(startConfigServiceListener);
}