InputManagerService: Remove unreached code
To avoid confusion, we remove this 'return' statement which is never reached, since we return on the line before it. Test: TreeHugger Change-Id: I9d249c42daedb8064760098458983cd7b3a655e4
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user