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

Commit e6045537 authored by Aravind Akella's avatar Aravind Akella Committed by Android Git Automerger
Browse files

am 7a1b5d5d: Merge "Fix crash in SensorService. Ignore devices with no sensors." into mnc-dev

* commit '7a1b5d5d':
  Fix crash in SensorService. Ignore devices with no sensors.
parents c8c0992a 7a1b5d5d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -276,6 +276,8 @@ status_t SensorService::dump(int fd, const Vector<String16>& args)
                dev.enableAllSensors();
            }
            return status_t(NO_ERROR);
        } else if (mSensorList.size() == 0) {
            result.append("No Sensors on the device\n");
        } else {
            // Default dump the sensor list and debugging information.
            result.append("Sensor List:\n");