Commit Graph

8 Commits

Author SHA1 Message Date
Jeremy Klein
aaa20ad134 Remove several TetherUtil functions which are no longer needed.
Slowly chipping away at TetherUtil to clean up this code.
This CL also adds an admin check to
ConnectivityService.isTetheringSupported to get parity with the
TetherUtil function before removing it.

Change-Id: Ibe7c5c9fb420d57e5458f77dad30e8a1e751a3e2
2016-02-04 19:06:59 -08:00
Jeremy Klein
36c7aa0325 Expose a simple tethering API which includes provision checks.
This CL exposes startTethering and stopTethering functions which also
encapsulate all provisioning check logic. Right now, only silent checks
are implemented, but UI checks will come in a follow-up CL. GTS tests
and Settings changes are under the same topic ID.

BUG: 26247383
Change-Id: I65f61d899594cb3f9035d8496366af17a57a090f
2016-01-25 16:37:09 -08:00
Chris Manton
85f7f790df am e8c98b77: am f40365f1: am ae0b7ca9: am c9180528: Merge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev
* commit 'e8c98b77854d39606960b0b6f5b5332c61e9a3d9':
  Add capability to ignore carrier entitlement checks
2015-09-14 17:54:26 +00:00
Chris Manton
1ba0fa04de Add capability to ignore carrier entitlement checks
Boolean to check to ignore carrier entitlement check.
API to follow later.

Carrier configuration manager has an option
to override tethering entitlement checks.
Ignore entitlement checks if overridden by
the carrier configuration flag.

bug:23712807

Change-Id: I6c9b3b9994279e592db304debef54809338fe9cf
2015-09-11 14:33:22 -07:00
Mitchell Wills
658b8c258c am a578ac88: am 9fde6f2c: am edf93764: am b460cc88: Merge "Remove wifi enabled checking from settings TetherUtil" into mnc-dr-dev
* commit 'a578ac888622a6b46bbaac78b04adebec9b9979b':
  Remove wifi enabled checking from settings TetherUtil
2015-08-20 18:58:56 +00:00
Mitchell Wills
8ba94ba2ab Remove wifi enabled checking from settings TetherUtil
TetherUtil no longer needs to reenable wifi when leaving SAP mode as
it is now done by WifiController. WifiController will also disable
wifi if needed when enabling SAP.

Bug: 22729316
Change-Id: I2ffe50e6468519ca964b27ba70a7e3019fd96eb1
2015-08-17 18:47:08 +00:00
Xiaohui Chen
2b45f8a6ce Clean up USER_OWNER references in settingslib.
Bug: 19913735
Change-Id: I0ccaed63c8fbc3bcbbd8d5cf8047e33c6e2edb5c
2015-08-05 16:31:19 +00:00
Jason Monk
95f03c4170 Some Tethering code to SettingsLib and use in QS
Change-Id: I640c84d4e42d2f1955db8cd6e473b6acac64dd39
2015-02-12 10:33:31 -05:00