Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5680227b authored by Peiyong Lin's avatar Peiyong Lin
Browse files

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
parent 69df21f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment