commit | 3a30e55be2b2eb1ac6408ff0df073180d23d6956 | [log] [tgz] |
---|---|---|
author | Paul McLean <pmclean@google.com> | Sat Dec 07 14:47:29 2019 -0700 |
committer | Paul McLean <pmclean@google.com> | Tue Dec 10 10:04:19 2019 -0700 |
tree | 51cbdc80732aedf399c106f94d3fd83fbf88e871 | |
parent | 6ba1d759f3a3f42f3f151b11983b41859e414015 [diff] |
Disable "use always" button in the UsbResoveActivity for USB capture device and non-record-permission apps. Bug: 145857629 Test: install UsbAccess and UsbPersistentPermissionsTestApp, connect USB audio capture device. Select the app to resolve to notice that the "use always" checkbox is disabled. Tested also after granting RECORD PERMISSION, "use always" is enabled. Tested with non-audio USB device, "use always" is enabled. Change-Id: I04eabaab3e36a5904e4447a0a7e0d40e169d8bee