IMS: Make wifi call settings UI non indexable

- Visibility of wifi calling settings option is controlled
with operator mcc/mnc values.
- Make wifi calling settings UI non indexable when UI option
is removed.

Bug: 23895298
Change-Id: Ie5bdbdde5d17582eceeee07c2d5ee9fb361e00bc
This commit is contained in:
Anju Mathapati
2015-07-27 17:14:14 +05:30
committed by Pavel Zhamaitsiak
parent a9c8cf7bf5
commit ec4706a227

View File

@@ -457,6 +457,10 @@ public class WirelessSettings extends SettingsPreferenceFragment implements Inde
result.add(KEY_TETHER_SETTINGS);
}
if (!ImsManager.isWfcEnabledByPlatform(context)) {
result.add(KEY_WFC_SETTINGS);
}
return result;
}
};