summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorFiona Campbell <flc@google.com>2020-09-10 16:23:52 +0100
committerFiona Campbell <flc@google.com>2020-09-16 13:42:57 +0100
commit1cd2473ca2034761b2e5822b51c28643f054832c (patch)
tree64608083bff61ed589ea8f56c57a76d8ccd088f9 /tools/aapt2/java/JavaClassGenerator.cpp
parent2e04dc8ebaa922d0361831f3595b521c58f57ae0 (diff)
Add fallback ID checking for DisplayDeviceConfig
Some devices already have DisplayDeviceConfig files identified without a stable flag, and new ones will have it with the flag. This CL tries to find a DisplayDeviceConfig with identifiers in the following priority order: * physicalDisplayId (new format includes "stable" flag) display_id_<id>.xml * physicalDisplayId without a stable flag (old system) display_<id>.xml * portId display_port_<port>.xml Add dumpsys & toString() Bug: 166473251 Test: manual & check dumpsys Change-Id: I9b762b040a16a99f51fb6d7538da4ca8afd9a859
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions