commit | e1a845980a21e9bec9c4f3a69927eec3b44e84d1 | [log] [tgz] |
---|---|---|
author | Jordan Jozwiak <jjoz@google.com> | Fri Feb 28 12:55:30 2020 -0800 |
committer | Jordan Jozwiak <jjoz@google.com> | Fri Feb 28 14:01:34 2020 -0800 |
tree | cdcf179bc1be2a44c2c83af67d3458c1d1173301 | |
parent | f56ddb7d2f3b500959afa5cda8673cad6f86c32e [diff] |
Fix test by finding default physical port This test incorrectly assumed that the default port is always port 0. A recent update to the emulator used for testing actually has the default display on physical port 1. The test now properly shares the same logic as the service. Bug: 150458433 Test: atest CarUxRestrictionsManagerServiceTest Change-Id: I3481553e377309adbd732975227b72fa582d997a
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.