Skip to content
Commit 7f6c32e5 authored by Oleg Petsjonkin's avatar Oleg Petsjonkin Committed by Oleg Petšjonkin
Browse files

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
parent 50656ddb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment