summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorEtienne Le Grand <etn@google.com>2014-04-05 04:47:14 +0000
committerJP Abgrall <jpa@google.com>2014-04-05 06:14:24 +0000
commitfa1d2417d296e28a48a8c4a5cfb932172edbdd65 (patch)
tree06113724fefaaa7b1bfd1c16d41658653b518571 /native
parentded264733036bb566c54da5b771d63f57213c84e (diff)
downloadframeworks_base-fa1d2417d296e28a48a8c4a5cfb932172edbdd65.zip
frameworks_base-fa1d2417d296e28a48a8c4a5cfb932172edbdd65.tar.gz
frameworks_base-fa1d2417d296e28a48a8c4a5cfb932172edbdd65.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 (cherry picked from commit 819239e5bec90ee3c861ac45fffac4a832a183a1)
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();
-}