From fa1d2417d296e28a48a8c4a5cfb932172edbdd65 Mon Sep 17 00:00:00 2001 From: Etienne Le Grand Date: Sat, 5 Apr 2014 04:47:14 +0000 Subject: Revert "Add stringType and requiredPermissions to SensorManager.java, as well as a permission for the heart rate sensor" This reverts commit fd53d8352a4617941b0a0449390aa562a01ea1d3. Change-Id: I1c6322d1d992147bb5ef201238374966128c1a61 (cherry picked from commit 819239e5bec90ee3c861ac45fffac4a832a183a1) --- native/android/sensor.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'native') diff --git a/native/android/sensor.cpp b/native/android/sensor.cpp index fb4de9e..76c6eda 100644 --- a/native/android/sensor.cpp +++ b/native/android/sensor.cpp @@ -153,23 +153,3 @@ int ASensor_getMinDelay(ASensor const* sensor) { return static_cast(sensor)->getMinDelay(); } - -int ASensor_getFifoMaxEventCount(ASensor const* sensor) -{ - return static_cast(sensor)->getFifoMaxEventCount(); -} - -int ASensor_getFifoReservedEventCount(ASensor const* sensor) -{ - return static_cast(sensor)->getFifoReservedEventCount(); -} - -const char* ASensor_getStringType(ASensor const* sensor) -{ - return static_cast(sensor)->getStringType().string(); -} - -const char* ASensor_getRequiredPermission(ASensor const* sensor) -{ - return static_cast(sensor)->getRequiredPermission().string(); -} -- cgit v1.1