summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-12-10 00:25:02 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-12-29 05:33:11 +0000
commitac6d791c75a1be5d0842416b6909907357bc00a2 (patch)
treef0dc5df83db870a32587a682da81bae23ed1b149 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent941ad3a5f081aae28e33a93bc8344f78534fdedd (diff)
Reland "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 areas (according to current features) per untrusted display. And also reduce the cost of traversing entire hierarchy. Reland since making DisplayContent#getWindowingLayer() valid by commit 941ad3a. Fixes: 175179353 Test: DisplayAreaPolicyTests#testEmptyFeaturesOnUntrustedDisplay Test: Start Desktop Head Unit (simulation of Auto) Change-Id: I3929d17eab6bed3f1358d6782e363120f0edd385
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions