Teleca 2b changes.
[android/platform/packages/apps/Phone.git] / src / com / android / phone / CellBroadcastSms.java
index 19e89eb..e110121 100644 (file)
@@ -442,15 +442,11 @@ public class CellBroadcastSms extends PreferenceActivity
     protected void onPause() {
         super.onPause();
 
-        int currentSelection[] = CellBroadcastSmsConfig.getCbSmsAllValues();
-
-        if (currentSelection[0] > 0) {
             CellBroadcastSmsConfig.setCbSmsNoOfStructs(NO_OF_SERVICE_CATEGORIES);
 
             mPhone.setCellBroadcastSmsConfig(CellBroadcastSmsConfig.getCbSmsAllValues(),
                     Message.obtain(mHandler, MESSAGE_SET_CB_SMS_CONFIG));
         }
-    }
 
     private void enableDisableAllCbConfigButtons(boolean enable) {
         mButtonEmergencyBroadcast.setEnabled(enable);