diff options
author | Alexandru-Andrei Rotaru <rotaru@google.com> | 2017-07-18 16:49:22 +0100 |
---|---|---|
committer | Alexandru-andrei Rotaru <rotaru@google.com> | 2017-08-03 13:51:36 +0000 |
commit | 5469504e6b2f7b7e9a883a6bddbe30856f81b2f7 (patch) | |
tree | 2be9ca669f1adc3a43def2ec26df67a56553adee /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | f9caecd124d2da220d13f6e03294d5b5ea6048cb (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: Ib7ea8885cedc2a842ebd4487c8b366a6666996bc
(cherry picked from commit fa6d5c5ca02f1bfc454bd3cd82e6c043661e7aa7)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions