diff options
| author | 2024-03-27 10:18:00 -0700 | |
|---|---|---|
| committer | 2024-04-02 16:40:03 -0700 | |
| commit | 3c6a28b980c5735d05460cfdf773dcbcf08c6a62 (patch) | |
| tree | fc0eebe24c046ba90ff73689bd740dbeb1797098 /libs/input/PointerController.cpp | |
| parent | fbc3ba8b58bb604e23f8f5dcc8adfa1b56d3bbe0 (diff) | |
Perform device capability check when checking device aware permission on
remote devices
When checking CAMERA or RECORD_AUDIO permissions on a remote device,
perform corresponding device capability check. If the remote device
doesn't have such capability fall back the permission check to the default
device so the camera/recorder on the default device can be used if
permission is granted.
Bug: 331165303
Test: atest VirtualAudioPermissionTest
Change-Id: If205eee8bcb9adcf474aef7f0ee35b4cc22e7ab3
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions