commit | 4d68ae240bc038ba80e5ac88bbebffa3c1564280 | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Thu Jun 03 12:05:01 2021 +0100 |
committer | Rubin Xu <rubinxu@google.com> | Wed Jun 09 10:13:21 2021 +0100 |
tree | 2da697d55c1028ced176d6853b3b89c1870af430 | |
parent | 44061d90ecb881d1be960b77ab7aa47ca0fbf048 [diff] |
Allow any apps to call DPM.isUsbDataSignalingEnabled() This is to allow 3p apps to query the state of the policy so they can show appropriate UX to the user in case the app's interaction with the plugged-in USB devices is disrupted by the admin policy. Bug: 190024751 Test: atest FrameworksServicesTests:DevicePolicyManagerTest Change-Id: I829ff84256e0288b88c11add53da312ee2bc2558