Merge pull request #394 from JoshMiers/my-fork-master

Adding T-Mobile MCC and MNC values for automatic Wi-Fi Calling
This commit is contained in:
Marcel Bokhorst 2016-03-30 07:38:03 +02:00
commit a81d841576
1 changed files with 1 additions and 1 deletions

View File

@ -978,7 +978,7 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
listExclude.add(new IPUtil.CIDR("192.168.42.0", 23));
}
Configuration config = getResources().getConfiguration();
if (config.mcc == -1 && config.mnc == -1) {
if (config.mcc == 310 && config.mnc == 260) {
// T-Mobile Wi-Fi calling
listExclude.add(new IPUtil.CIDR("66.94.2.0", 24));
listExclude.add(new IPUtil.CIDR("66.94.6.0", 23));