diff --git a/res/values/strings.xml b/res/values/strings.xml index 0f3b18d7b71..4ccb3954aae 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -678,7 +678,7 @@ Allow data usage when roaming - Data roaming + Roaming Connect to data services when roaming @@ -10258,6 +10258,8 @@ App data usage Invalid Network Mode %1$d. Ignore. + + Access Point Names Unavailable when connected to %1$s diff --git a/res/xml/gsm_umts_options.xml b/res/xml/gsm_umts_options.xml deleted file mode 100644 index cf565959e8a..00000000000 --- a/res/xml/gsm_umts_options.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/res/xml/mobile_network_settings.xml b/res/xml/mobile_network_settings.xml index 0478664f0e4..cc914adcc0f 100644 --- a/res/xml/mobile_network_settings.xml +++ b/res/xml/mobile_network_settings.xml @@ -138,7 +138,7 @@ diff --git a/src/com/android/settings/network/telephony/CdmaOptions.java b/src/com/android/settings/network/telephony/CdmaOptions.java deleted file mode 100644 index c573128c40e..00000000000 --- a/src/com/android/settings/network/telephony/CdmaOptions.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2018 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.android.settings.network.telephony; - -import androidx.preference.Preference; -import androidx.preference.PreferenceFragmentCompat; -import androidx.preference.PreferenceScreen; - -import com.android.settings.R; - -/** - * List of Phone-specific settings screens. - */ -public class CdmaOptions { - private static final String LOG_TAG = "CdmaOptions"; - - private static final String BUTTON_CDMA_SYSTEM_SELECT_KEY = "cdma_system_select_key"; - private static final String BUTTON_CDMA_SUBSCRIPTION_KEY = "cdma_subscription_key"; - - private PreferenceFragmentCompat mPrefFragment; - - public CdmaOptions(PreferenceFragmentCompat prefFragment, PreferenceScreen prefScreen, - int subId) { - mPrefFragment = prefFragment; - } - - public boolean preferenceTreeClick(Preference preference) { - //TODO(b/114749736): handle it in preferenceController and remove this file - if (preference.getKey().equals(BUTTON_CDMA_SYSTEM_SELECT_KEY)) { - log("preferenceTreeClick: return BUTTON_CDMA_ROAMING_KEY true"); - return true; - } - if (preference.getKey().equals(BUTTON_CDMA_SUBSCRIPTION_KEY)) { - log("preferenceTreeClick: return CDMA_SUBSCRIPTION_KEY true"); - return true; - } - return false; - } - - protected void log(String s) { - android.util.Log.d(LOG_TAG, s); - } -}