diff options
| author | 2022-09-23 18:14:49 +0000 | |
|---|---|---|
| committer | 2022-09-23 21:50:49 +0000 | |
| commit | c6f10b42d9d905da3a8e41033b1233b9212274e8 (patch) | |
| tree | c66b7f31a48b671dffb09359334992ca473e65b1 /libs/input/PointerController.cpp | |
| parent | 51847be2728c456b45f2cded55f576ea9d457fc9 (diff) | |
Move MediaProjectionGlobal API to DisplayManager
Add a static method in DisplayManager that allows the caller to create a
VirtualDisplay without having an instance of DisplayManager (which
requires a context). This can only be used from a process that has the
CAPTURE_VIDEO_OUTPUT permission.
Also added RequiresPermission(CAPTURE_VIDEO_OUTPUT)
annotation for the new API.
Test: DisplayManagerTest
Bug: 247776252
Change-Id: I1eb94ab1063d89860cdfb2a58d4653d9a77eec98
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions