diff options
author | Fiona Campbell <flc@google.com> | 2021-05-12 13:34:13 +0100 |
---|---|---|
committer | Fiona Campbell <flc@google.com> | 2021-05-12 13:34:13 +0100 |
commit | 6306169f866402321c9d832834c6aa3f552380c8 (patch) | |
tree | 952758aa08fb5bfb79a04a728f59b5b1ea9b8880 /libs/hwui/renderthread/RenderThread.cpp | |
parent | d2ca79d4d431f93b7d7d6c9581eddaa7142d1565 (diff) |
Add fallback for sensor identification in ddc
If a display device config was specified but without a valid ambient light sensor, it would fall back to Sensor.TYPE_LIGHT rather than the specified one in config.xml. This change fixes that.
Bug: 187130675
Test: adb shell dumpsys display | grep DisplayDeviceConfig
Test: com.android.server.display
Change-Id: I5b3f71a7c32055dbbd43d8fd139cfa7d09b9b3c4
Diffstat (limited to 'libs/hwui/renderthread/RenderThread.cpp')
0 files changed, 0 insertions, 0 deletions