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

Commit 40535b27 authored by Yabin Cui's avatar Yabin Cui Committed by Android (Google) Code Review
Browse files

Merge "Fix error for compiler update." into sc-dev-plus-aosp

parents a2ca8644 60b48c66
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -303,7 +303,7 @@ bool SensorInputMapper::setSensorEnabled(InputDeviceSensorType sensorType, bool
     * the device
     */
    mDeviceEnabled = false;
    for (const auto& [sensorType, sensor] : mSensors) {
    for (const auto& [_, sensor] : mSensors) {
        // If any sensor is on we will turn on the device.
        if (sensor.enabled) {
            mDeviceEnabled = true;