Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b9c8f6d authored by Fiona Campbell's avatar Fiona Campbell Committed by Automerger Merge Worker
Browse files

Merge "Add fallback for sensor identification in ddc" into sc-dev am: 43aefcfa am: 50ee01dd

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14516146

Change-Id: I18d4dfdc43b91edd6a2018587771f9dd3e13df21
parents d7c01e54 50ee01dd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -689,6 +689,8 @@ public class DisplayDeviceConfig {
        if (sensorDetails != null) {
            mAmbientLightSensor.type = sensorDetails.getType();
            mAmbientLightSensor.name = sensorDetails.getName();
        } else {
            loadAmbientLightSensorFromConfigXml();
        }
    }