commit | 7c7afc6362e8f927e86193ae5767b26305cdab82 | [log] [tgz] |
---|---|---|
author | Jordan Jozwiak <jjoz@google.com> | Fri Jun 12 18:01:40 2020 -0700 |
committer | Jordan Jozwiak <jjoz@google.com> | Mon Jun 15 09:00:29 2020 -0700 |
tree | 7855a5adc1fa8b033de2ec96dd56fdb84fccf767 | |
parent | 93fa47607c1e98f5eaba596374c6137c56b1b224 [diff] |
Fix map of virtual displays to physical ports mPortLookup is map of display ids to physical ports. For virtual displays we had incorrectly saved a map of the virtual display's id to its physical display id. This wasn't caught earlier because most of our test devices seem to use the same id for the display and physical port. Bug: 154263657 Test: atest CarUxRestrictionsManagerServiceTest Change-Id: I1ba01c3277fcb2406c96dcef76ae7ec0d80b8059
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.