commit | 29b7014dab40cc472d36df91fe644ef5ac3df6c3 | [log] [tgz] |
---|---|---|
author | markchien <markchien@google.com> | Tue Mar 26 21:41:59 2019 +0800 |
committer | markchien <markchien@google.com> | Thu Mar 28 11:48:40 2019 +0800 |
tree | a6316cc47cf284f969ac6ae04756c3a40caf0822 | |
parent | 3b519638a379f124b9776a222ffb01139902aea7 [diff] |
Close tethering when UI entitlement fails This is a alternative way for moving TetherService logic into EntitlementManager[1]. Settings would close tethering when silent entitlement check fail. To be consistent, tethering should also be closed if UI entitlement check fails. [1] https://android-review.googlesource.com/c/platform/frameworks/base/+/928136 bug: 129330738 Test: -build, flash, boot, -atest EntitlementManagerTest -manual test with carrier SIM Change-Id: Idfc35461b6359f3a624e78d49b6f73812db6d8ab