commit | 7453178c200d77750126f74cce1141b5ffbdb6ff | [log] [tgz] |
---|---|---|
author | Zixuan Qu <zixuanqu@google.com> | Wed Nov 23 21:04:38 2022 +0000 |
committer | Zixuan Qu <zixuanqu@google.com> | Wed Nov 23 21:07:44 2022 +0000 |
tree | 876ad56fb04928809bd9ede2191b808d936cd4c1 | |
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