commit | 6a698da2e419a2a4b586769d8ae1d5b8548802b9 | [log] [tgz] |
---|---|---|
author | Changyeon Jo <changyeon@google.com> | Fri Sep 18 15:39:59 2020 -0700 |
committer | Changyeon Jo <changyeon@google.com> | Mon Sep 21 15:39:14 2020 -0700 |
tree | 5a9e8847c4d9895b0b801935a5cf74ea012ec992 | |
parent | 41b86363f38eed6c24f8829bb451c8027af2329e [diff] |
Correct a display port number extraction from EDID While the display port number is embedded at the least 8-bit of EDID, EVS uses only the least 4-bit so may cause conflicts between display devices that have the same value in the least 4-bit. This change fixes logics to use all 8-bit value as the port number and updates config.json with the right display port numbers on the reference platform. Below command shows the port numbers display devices are connected to: $ adb shell lshal \ debug android.hardware.automotive.evs@1.1::IEvsEnumerator/default \ --list display Display devices available to EVS service: display port 136 display port 130 Fix: 168931805 Test: Run above example and compare them against below command returns: $ adb shell dumpsys SurfaceFlinger --display-id Change-Id: I42b22ba8ef211c0c858e4adf382e590fd9c894b5 Merged-In: I42b22ba8ef211c0c858e4adf382e590fd9c894b5 (cherry picked from commit 56da052387ece35e4f8a26be80fee4c44294e76f)
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.