diff options
| author | 2024-06-26 17:17:51 -0700 | |
|---|---|---|
| committer | 2024-06-28 23:12:10 +0000 | |
| commit | 96a5aaf57b4432cb3d5cb4a2327ab548b262354b (patch) | |
| tree | ebc222a5f27ca3dd861eb763d0750a24516dcc31 /libs/gui/DisplayLuts.cpp | |
| parent | fbdbde9a77001535e3d0a3045ff7940ffa8d1bf9 (diff) | |
Fix region sampling for secure layers
We were swapping a couple of boolean params when requesting
screenshots for region sampling, breaking region sampling for
secure layers in the process. Fix this by passing flags instead of
booleans in a long list of arguments and add a test to verify the
code path.
FLAG: EXEMPT bugfix
Fixes: 348944802
Test: presubmit
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:871886eebe469fc21568ff363993bde9a6593837)
Merged-In: I58f12e5cf81cb59115c1b9c500ac1e18a8ec72e5
Change-Id: I58f12e5cf81cb59115c1b9c500ac1e18a8ec72e5
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions