Skip to content
Commit b87dc233 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Do not add display area features for untrusted display

Untrusted display (e.g. virtual display created by app, a common
case is screen recorder) doesn't support system decorations. There
is nothing to do with additional features.

This saves 31 layers (according to current features) per untrusted
display. And also reduce the cost of traversing entire hierarchy.

Fixes: 175179353
Test: DisplayAreaPolicyTests#testEmptyFeaturesOnUntrustedDisplay
Change-Id: Iad45217c9e09f33ef9f3f4503b9db2a8a21995a3
parent 0f3b7c08
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment