diff options
| author | 2020-08-07 23:48:12 +0000 | |
|---|---|---|
| committer | 2020-08-07 23:48:12 +0000 | |
| commit | 0b9fc0b0cfe2771f581258a6b2a0f963d6e9309a (patch) | |
| tree | b7f5dca69c7e6db3e9f27a8c62a925fbe834be44 /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | 6cd89aa396423745bc6bd776400282abc370d1d9 (diff) | |
| parent | 4b9d5e1c02dc053555497ec4c92d2e46146c53e2 (diff) | |
Merge changes I129b5a7f,I633f293e
* changes:
Allow screen capture for a specified uid.
Store Layer ownerUid based on metadata or callingUid.
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
| -rw-r--r-- | services/surfaceflinger/RegionSamplingThread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/RegionSamplingThread.cpp b/services/surfaceflinger/RegionSamplingThread.cpp index 17daadba02..4e841e9be6 100644 --- a/services/surfaceflinger/RegionSamplingThread.cpp +++ b/services/surfaceflinger/RegionSamplingThread.cpp @@ -429,7 +429,7 @@ void RegionSamplingThread::captureSample() { bounds.top, bounds.right, bounds.bottom); visitor(layer); }; - mFlinger.traverseLayersInLayerStack(layerStack, filterVisitor); + mFlinger.traverseLayersInLayerStack(layerStack, CaptureArgs::UNSET_UID, filterVisitor); }; sp<GraphicBuffer> buffer = nullptr; |