Loading services/sensorservice/SensorDeviceTreble.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ static status_t StatusFromResult(Result result) { } SensorDevice::SensorDevice() { mSensors = ISensors::getService("sensors"); mSensors = ISensors::getService(); if (mSensors == NULL) { return; Loading Loading @@ -630,4 +630,3 @@ void SensorDevice::convertToSensorEvents( // --------------------------------------------------------------------------- }; // namespace android Loading
services/sensorservice/SensorDeviceTreble.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ static status_t StatusFromResult(Result result) { } SensorDevice::SensorDevice() { mSensors = ISensors::getService("sensors"); mSensors = ISensors::getService(); if (mSensors == NULL) { return; Loading Loading @@ -630,4 +630,3 @@ void SensorDevice::convertToSensorEvents( // --------------------------------------------------------------------------- }; // namespace android