diff options
author | Alexandru-Andrei Rotaru <rotaru@google.com> | 2017-07-18 16:49:22 +0100 |
---|---|---|
committer | Erik Kline <ek@google.com> | 2018-02-28 17:52:38 +0900 |
commit | 9f3bad7260d718558d6f2f2048d973f2cd588b0b (patch) | |
tree | 919f3f567603fb8cf0b98d86f200f546910d66f8 /libs/hwui/renderthread/CacheManager.cpp | |
parent | 4c00edd36139789a94cc4a01c51451edc4476df8 (diff) |
Notify the user and turn off tethering when the service is disallowed.
Added UserRestrinctionListener for turning the service off one the
DISALLOW_CONFIG_TETHERING is on into Tethering. Added notification
about
tethering being turned off. Also added Unit Tests to test the
functionality
of the UserRestrictionListener added.
Bug: 27936525
Test: Turn the tehering service on (either wifi, usb or bluetooth).
Automatically the system should send a notification about the service
being active.Close settings from recents. From TestDPC User Restrictions
switch on DISALLOW_CONFIG_TETHERING. The tethering should be turned off
and a notification should appear informing that the service is inactive.
Merged-In: Ib7ea8885cedc2a842ebd4487c8b366a6666996bc
Change-Id: I4a57137a7ad592ca186d9508d5cc2fad3f1bc985
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions