summaryrefslogtreecommitdiff
path: root/libs/input/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2020-11-13 16:53:31 -0800
committer Peiyong Lin <lpy@google.com> 2020-11-13 16:57:04 -0800
commit5680227b4a680a8fcb3034aa0d730294724b23eb (patch)
treeae9af98186d4af08e5b153cb332c9592ba523b80 /libs/input/KeyLayoutMap.cpp
parent69df21f13ca16427fce2ba75e6beedacf05686cb (diff)
Traverse layers in main thread.
Currently we have to traverse layers in order to determine whether a protected buffer must be allocated, however, screenshot functions are called in binder threads most of the time and hence we ended up traversing layers in binder threads, which is wrong. This patch schedules the traverse to main thread. Bug: b/172774482 Test: Protected video is visible during rotation Test: traverse layers are in main thread in trace Change-Id: Iefa6fec78586af00a28f87fa5641d5fff929b80f
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions