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

Commit 983a8a59 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "InputManagerService: Remove unreached code"

parents f3c551f4 ef25f6d9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2055,7 +2055,6 @@ static jboolean nativeEnableSensor(JNIEnv* env, jclass /* clazz */, jlong ptr, j
            ->enableSensor(deviceId, static_cast<InputDeviceSensorType>(sensorType),
                           std::chrono::microseconds(samplingPeriodUs),
                           std::chrono::microseconds(maxBatchReportLatencyUs));
    return true;
}

static void nativeDisableSensor(JNIEnv* env, jclass /* clazz */, jlong ptr, jint deviceId,