diff options
| author | 2023-06-09 16:59:02 +0000 | |
|---|---|---|
| committer | 2023-06-12 15:20:55 +0000 | |
| commit | 7f6c32e58dccc6e7db5ab84f04d93daf6aeb424a (patch) | |
| tree | a1be26b284ecd5ea8c70b7e6e41ca12ebc37e83a /libs/androidfw/FileStream.cpp | |
| parent | 50656ddbecfdc1f6fd27f7476281bff08c923735 (diff) | |
No sensors support in DDC rework
Fixing bug when ambient sensor initialized from config (loadAmbientSensorFromConfigXml) and having "" name in xml config resolved as null. Prior ag/20581836 it was resolving as default sensor.
Please note, changes introduced in ag/20581836 intended for proximity sensor only, and null-sensor resolution was added to SensorUtils, affecting other sensors as well. This CL moves null-resolution to DDC, proximity sensor parsing phase.
Bug: b/202604469 b/273689055
Test: atest DisplayPowerProximityStateControllerTest atest SensorUtilsTest
Change-Id: I1d2f6b3a397affee41bf74862c6a4f2b4092d45c
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions