Skip to content

Commit 496aeb1

Browse files
Amit MahajanAndroid (Google) Code Review
authored andcommitted
Merge "Roaming blacklist" into lmp-dev
2 parents cd8e738 + a902fe5 commit 496aeb1

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

core/res/res/values-mcc310-mnc150/config.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@
2424
<item>310140</item>
2525
<item>310400</item>
2626
<item>310470</item>
27+
<item>311170</item>
2728
</string-array>
2829
<string-array translatable="false" name="config_operatorConsideredNonRoaming">
30+
<item>310</item>
2931
<item>311</item>
3032
<item>312</item>
3133
<item>313</item>

core/res/res/values-mcc310-mnc410/config.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@
3030
<item>310140</item>
3131
<item>310400</item>
3232
<item>310470</item>
33+
<item>311170</item>
3334
</string-array>
34-
<!-- BEGIN Motorola, xnk746, Feb-12-2014, IKVPREL2KK-1468 -->
35+
3536
<string-array translatable="false" name="config_operatorConsideredNonRoaming">
37+
<item>310</item>
3638
<item>311</item>
3739
<item>312</item>
3840
<item>313</item>

core/res/res/values/config.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1636,6 +1636,7 @@
16361636
<bool name="config_stkNoAlphaUsrCnf">true</bool>
16371637

16381638
<!-- Don't use roaming icon for considered operators.
1639+
A match on config_sameNamedOperatorConsideredRoaming supersedes a match on this.
16391640
Can use mcc or mcc+mnc as item. For example, 302 or 21407.
16401641
If operators, 21404 and 21407, make roaming agreements, user of 21404 should not see
16411642
the roaming icon as using 21407 network.
@@ -1650,10 +1651,12 @@
16501651
<!-- For some operators, PDU has garbages. To fix it, need to use valid index -->
16511652
<integer name="config_valid_wappush_index">-1</integer>
16521653

1653-
<!-- Show roaming icon though same named operators.
1654+
<!-- This is NOT just for same named operators unlike the name suggests (will blacklist regardless of name).
1655+
A match on this supersedes a match on config_operatorConsideredNonRoaming.
16541656
Uses "startsWith" so you can use a leading substring like the mcc or
16551657
use the complete mcc+mnc string.
1656-
Though same mcc and same operator name, some operator want to roam.
1658+
For a given mcc/mcc-mnc, some operators may want to roam (even if
1659+
config_operatorConsideredNonRoaming has the mcc/mcc-mnc).
16571660
user of 40485 should see the roaming icon as using 40483 network
16581661
though same Reliance network.
16591662
To do this, add 40483 item to values-mcc404-mnc85/config.xml -->

0 commit comments

Comments
 (0)