summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorEsteban Talavera <etalavera@google.com>2017-03-24 16:31:56 +0000
committerEsteban Talavera <etalavera@google.com>2017-03-28 16:47:18 +0100
commitf934d17bfbbf8a8b4155596fdc74178d89274fc3 (patch)
treea3f183d1b12b2dedbb3d724271dd788ad83fab88 /tools/aapt2/diff/Diff.cpp
parentbc44678fb13fbad0b29a92587e9c807a7b185cb5 (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 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions