summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2019-05-15 11:36:13 -0700
committer Peiyong Lin <lpy@google.com> 2019-05-15 11:36:13 -0700
commit96cfebcf7e15b9aae665df7a06309ba2d9a2c430 (patch)
tree1e5fb54e3a603ed5f64715d105835418353ba5ec /libs/gui/QueueBufferInputOutput.cpp
parent3f8312b5dc975c391f85f90a4a0586ac3c7ac899 (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 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions