diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-12-10 00:25:02 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-12-10 18:57:11 +0800 |
commit | b87dc233af9d01aafa83ca3107f1e12991963440 (patch) | |
tree | d522364a03d503e90739bcd135d3008af1bf9469 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0f3b7c082398356cbfa10c760afc5bde091cddfb (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions