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

Commit 0d579eb4 authored by Yabin Cui's avatar Yabin Cui Committed by Automerger Merge Worker
Browse files

Merge "Fix error for compiler update." into sc-dev-plus-aosp am: 40535b27

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

Change-Id: I932156c16a3f64afcbcd7ae02bb2aa2264a40746
parents e51d10d5 40535b27
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;