diff options
| author | Esteban Talavera <etalavera@google.com> | 2017-03-24 16:31:56 +0000 |
|---|---|---|
| committer | Esteban Talavera <etalavera@google.com> | 2017-03-28 16:47:18 +0100 |
| commit | f934d17bfbbf8a8b4155596fdc74178d89274fc3 (patch) | |
| tree | a3f183d1b12b2dedbb3d724271dd788ad83fab88 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | bc44678fb13fbad0b29a92587e9c807a7b185cb5 (diff) | |
Restart USB stack if data transfer becomes unavailable
If DISALLOW_USB_FILE_TRANSFER is set while the device is
connected via USB and data transfer is enabled, restart
the USB stack to make sure that data cannot be transferred any more
Fix: 34487750
Bug: 34054991
Test: Checked that files cannot be transferred any more as soon as the user restriction is set
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.UserRestrictionsTest
Change-Id: I129c226e57da2d0be356f93436b36b3303cb604c
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
