summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2016-09-30 14:58:27 -0700
committerPhilip P. Moltmann <moltmann@google.com>2016-09-30 22:24:23 +0000
commit5201f1e61cbeaf3c967840c4200da76d7a3b85dd (patch)
treeb304f77bbd5ef3816dc566f710bf07fec63a0549 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent38652db8188917f3e51dbedbea0d8f00265772e5 (diff)
Do not access MTP devices when disabled.
The USB data transfer is disabled we should not allow access MTP devices (e.g. usb sticks). We have two ways of accessing them: Either by mounting them or by creating a MTPDevice in an app. Of course an app could implement implement their own MTPDevice implementation. In this case we cannot enforce the policy without completely suppressing all MTP USB devices which would be too restrictive. Note: When the policy is set we do _not_ disconnect already connected MTP devices Fixes: 31472955 Change-Id: I6080c48c49657102774b2b3b4d89ff030245a266
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions