diff options
| author | 2019-05-15 11:36:13 -0700 | |
|---|---|---|
| committer | 2019-05-15 11:36:13 -0700 | |
| commit | 96cfebcf7e15b9aae665df7a06309ba2d9a2c430 (patch) | |
| tree | 1e5fb54e3a603ed5f64715d105835418353ba5ec /vulkan/libvulkan/api.cpp | |
| parent | 3f8312b5dc975c391f85f90a4a0586ac3c7ac899 (diff) | |
[SurfaceFlinger] Allow root to capture screen.
If adb is running in root, then uid is AID_ROOT and capture screen will fail.
This patch allows root to capture screen.
BUG: 132777517
Test: adb shell screencap -d 0 -p /sdcard/test.png produces a valid screenshot
Change-Id: Ib6eaad2dffa7a68f4b1fce548814f0c2f172c3fd
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions