OSDN Git Service

Fix Tethering settings.
authorRobert Greenwalt <rgreenwalt@google.com>
Fri, 21 Oct 2011 23:54:26 +0000 (16:54 -0700)
committerRobert Greenwalt <rgreenwalt@google.com>
Sat, 22 Oct 2011 00:01:39 +0000 (17:01 -0700)
commit49348e77b69ec8b7ba17072bdce066d6ad842276
treee79a2fd69dd1f94305c266074e961eeba9b7af03
parent11116b80d88b72e14e4f6b7ad3ab312096f8eea5
Fix Tethering settings.

Two issues.  A mcc/mnc-driven overlay means that the config at boot may not be
the config we wish to use - the sim card is read later which may switch the
config.  Changed to read the configuration each time rather than once at boot.
Second, the secure-setting override was always trumping the resource config
as we weren't discriminating between a not-set default and a real setting.
This meant the config could never make DUN-required.

bug:5495862
Change-Id: Icd4e90ac1d32bbb704c0ff9cc69e954fb0a0b58c
services/java/com/android/server/connectivity/Tethering.java