Loading core/res/res/values/config.xml +1 −0 Original line number Diff line number Diff line Loading @@ -125,6 +125,7 @@ <!-- Regex array of allowable upstream ifaces for tethering - for example if you want tethering on a new interface called "foo2" add <item>"foo\\d"</item> to the array --> <!-- Interfaces will be prioritized according to the order listed --> <string-array translatable="false" name="config_tether_upstream_regexs"> </string-array> Loading services/java/com/android/server/connectivity/Tethering.java +2 −2 Original line number Diff line number Diff line Loading @@ -1170,8 +1170,8 @@ public class Tethering extends INetworkManagementEventObserver.Stub { return null; } for (String iface : ifaces) { for (String regex : mUpstreamIfaceRegexs) { for (String iface : ifaces) { if (iface.matches(regex)) { // verify it is active InterfaceConfiguration ifcg = null; Loading Loading
core/res/res/values/config.xml +1 −0 Original line number Diff line number Diff line Loading @@ -125,6 +125,7 @@ <!-- Regex array of allowable upstream ifaces for tethering - for example if you want tethering on a new interface called "foo2" add <item>"foo\\d"</item> to the array --> <!-- Interfaces will be prioritized according to the order listed --> <string-array translatable="false" name="config_tether_upstream_regexs"> </string-array> Loading
services/java/com/android/server/connectivity/Tethering.java +2 −2 Original line number Diff line number Diff line Loading @@ -1170,8 +1170,8 @@ public class Tethering extends INetworkManagementEventObserver.Stub { return null; } for (String iface : ifaces) { for (String regex : mUpstreamIfaceRegexs) { for (String iface : ifaces) { if (iface.matches(regex)) { // verify it is active InterfaceConfiguration ifcg = null; Loading