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
Loading
Please register or sign in to comment