summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2021-07-12 21:51:09 -0400
committerJohn Reck <jreck@google.com>2021-07-12 21:53:35 -0400
commit2b2ba935f84fbac43d76be3c4a78c86c0cc985ab (patch)
tree115a7287794cc4d53f8084dc798ebdd228b9f2f0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent315a26781c9557fa0dbdae9c5d273102de3d8e6c (diff)
Remove isDataspaceValid
isDataspaceValid is problematic in that it prevents applications from being able to pass-through dataspaces they receive from other APIs, and it also assumes that the display's capabilities are the only things that are supported. Although it's recommended that applications stick to dataspaces that the display can handle, it's not strictly required. RenderEngine can handle more dataspaces than the display can, applying appropriate color conversion. Similarly this could be going to a virtual display instead, in which case the physical display's capabilities are not necessarily relevant. Bug: 149931223 Test: make Change-Id: I475f4e4dcbcdb4765670f6a8eb4cc047a9babb43
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions