Remove call settings menu
It will be shown in Contacts app instead Bug: 4971637 Change-Id: I081708d4b2cf296d0e37dd20f6ac82f37438d9f0
This commit is contained in:
@@ -42,17 +42,6 @@
|
||||
android:title="@string/data_usage_summary_title"
|
||||
android:icon="@drawable/ic_settings_data_usage" />
|
||||
|
||||
<!-- Call settings - this is in the phone process -->
|
||||
<header
|
||||
android:id="@+id/call_settings"
|
||||
android:icon="@drawable/ic_settings_call"
|
||||
android:title="@string/call_settings_title">
|
||||
<intent
|
||||
android:action="android.intent.action.MAIN"
|
||||
android:targetPackage="com.android.phone"
|
||||
android:targetClass="com.android.phone.CallFeaturesSetting" />
|
||||
</header>
|
||||
|
||||
<!-- Operator hook -->
|
||||
<header
|
||||
android:fragment="com.android.settings.WirelessSettings"
|
||||
|
@@ -305,9 +305,6 @@ public class Settings extends PreferenceActivity implements ButtonBarHandler {
|
||||
target.remove(header);
|
||||
} else if (id == R.id.operator_settings || id == R.id.manufacturer_settings) {
|
||||
Utils.updateHeaderToSpecificActivityFromMetaDataOrRemove(this, target, header);
|
||||
} else if (id == R.id.call_settings) {
|
||||
if (!Utils.isVoiceCapable(this))
|
||||
target.remove(header);
|
||||
} else if (id == R.id.wifi_settings) {
|
||||
// Remove WiFi Settings if WiFi service is not available.
|
||||
if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI)) {
|
||||
|
Reference in New Issue
Block a user