summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorEtienne Le Grand <etn@google.com>2014-04-05 04:47:14 +0000
committerEtienne Le Grand <etn@google.com>2014-04-05 04:47:14 +0000
commit819239e5bec90ee3c861ac45fffac4a832a183a1 (patch)
tree1191459c7cfef8e68928b0d1b320116fc7c8e2a3 /native
parentfd53d8352a4617941b0a0449390aa562a01ea1d3 (diff)
downloadframeworks_base-819239e5bec90ee3c861ac45fffac4a832a183a1.zip
frameworks_base-819239e5bec90ee3c861ac45fffac4a832a183a1.tar.gz
frameworks_base-819239e5bec90ee3c861ac45fffac4a832a183a1.tar.bz2
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
Diffstat (limited to 'native')
-rw-r--r--native/android/sensor.cpp20
1 files changed, 0 insertions, 20 deletions
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 const*>(sensor)->getMinDelay();
}
-
-int ASensor_getFifoMaxEventCount(ASensor const* sensor)
-{
- return static_cast<Sensor const*>(sensor)->getFifoMaxEventCount();
-}
-
-int ASensor_getFifoReservedEventCount(ASensor const* sensor)
-{
- return static_cast<Sensor const*>(sensor)->getFifoReservedEventCount();
-}
-
-const char* ASensor_getStringType(ASensor const* sensor)
-{
- return static_cast<Sensor const*>(sensor)->getStringType().string();
-}
-
-const char* ASensor_getRequiredPermission(ASensor const* sensor)
-{
- return static_cast<Sensor const*>(sensor)->getRequiredPermission().string();
-}