Skip to content
Commit 7453178c authored by Zixuan Qu's avatar Zixuan Qu
Browse files

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
parent d186a0a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment