diff options
author | Alexandru-Andrei Rotaru <rotaru@google.com> | 2017-06-26 17:31:35 +0100 |
---|---|---|
committer | Alexandru-Andrei Rotaru <rotaru@google.com> | 2017-07-18 16:33:05 +0000 |
commit | f8f3fbbd016d12f80c02e136ab4684da807792a1 (patch) | |
tree | 1722078446ea6f5226ac899b079a8a0983af0c2c /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 1ed43cafb62fd8ee7f8e95c49501e1b0d4f534bf (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
Merged-In: Ib7ea8885cedc2a842ebd4487c8b366a6666996bc
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.
Change-Id: Ib7ea8885cedc2a842ebd4487c8b366a6666996bc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions