| commit | 834e8bcdbbb9878544829c7bc0c1924db242b55f | [log] [tgz] |
|---|---|---|
| author | Melody Hsu <melodymhsu@google.com> | Wed Apr 09 06:26:49 2025 +0000 |
| committer | Melody Hsu <melodymhsu@google.com> | Fri Apr 11 23:47:49 2025 +0000 |
| tree | 773ab548bad876b2c9b32d90d379fa73dc5e47ec | |
| parent | 0199b205fbd2ba9ab6224529907bffdb006cf788 [diff] |
Encapsulate excludeLayerId logic into a function Logic duplicated in captureLayers and captureDisplay, this is setup for moving more fields into screenshotArgs in order to reduce stateLock contention. Bug: b/377758217 Test: atest SurfaceFlinger_test Test: atest CompositionTest Test: atest RegionSamplingtest Flag: EXEMPT, refactor Change-Id: I5e693d918b9565c6e5680830286d28e8f4145c00