diff options
| author | 2022-11-23 21:04:38 +0000 | |
|---|---|---|
| committer | 2022-11-23 21:07:44 +0000 | |
| commit | 7453178c200d77750126f74cce1141b5ffbdb6ff (patch) | |
| tree | 876ad56fb04928809bd9ede2191b808d936cd4c1 /libs/androidfw/misc.cpp | |
| parent | d186a0a95209159d62e958796c746d6888de2eb4 (diff) | |
Add @RequiresPermission annotation to virtual input device creation binder calls.
This is to avoid the following build warning:
[AndroidFrameworkRequiresPermission] Method createVirtualKeyboard() annotated [none] but too narrow; invokes method requiring {allOf=[android.permission.CREATE_VIRTUAL_DEVICE]}
Bug: 237537306
Test: atest VirtualDeviceManagerServiceTest
Change-Id: I36606da2d58bc4020618060a02193b6d69470c09
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions