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

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

Merge "Fix error for compiler update."

parents 0b64a3db 823144f3
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;