Skip to content
Snippets Groups Projects
Commit 06ebddac authored by Vishnu Nair's avatar Vishnu Nair Committed by Android (Google) Code Review
Browse files

Reland Use WindowInfosListener for TPL

Move TPL logic from surfaceflinger to system server. When a TPL is
registered, start listening to window info updates and start checking
for whether thresholds will be crossed. This allows us to move the logic
away from the composition hot path and optimize to handle multiple
listeners. This change also consolidates all the TPL logic into its own
thread.

Bug: 290795410
Change-Id: Ib4ab68d7f116ace168bf994c0fd5c0c08c4496a6
Test: atest TrustedPresentationCallbackTest
parent c6b20cda
No related branches found
No related tags found
No related merge requests found
Showing
with 1151 additions and 209 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment