summaryrefslogtreecommitdiff
path: root/libs/sensor/SensorManager.cpp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2018-04-17 13:56:46 +0900
committerJiyong Park <jiyong@google.com>2018-04-17 13:56:46 +0900
commit47f876b74be0a2d6d417f5ff385f85d835a97fe9 (patch)
tree933a23cdef6c20cdb6f6f99220a956a01051ef9b /libs/sensor/SensorManager.cpp
parent7e959e42d85b1ef75a32ab6d4a29efb7f556ffda (diff)
Hide some headers from libbinder to vendors
The headers that are related to system services are now hidden to vendors. Note that this does not break anything because vendors have already been disallowed to talk to system services via sepolicy. Their use of binder is strictly limited within themselves (via /dev/vndbinder). The hidden headers are now guarded with __ANDROID_VNDK__ and including them from vendors (or vendor variants of other VNDK libraries) will trigger a build-time error. Bug: 78113963 Test: m -j Test: devices boots to the UI Change-Id: I19be5ca024fc4081b7861d908d75758c1d956a83
Diffstat (limited to 'libs/sensor/SensorManager.cpp')
-rw-r--r--libs/sensor/SensorManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/sensor/SensorManager.cpp b/libs/sensor/SensorManager.cpp
index 6fe72a13ba..b9ae524ee8 100644
--- a/libs/sensor/SensorManager.cpp
+++ b/libs/sensor/SensorManager.cpp
@@ -27,6 +27,7 @@
#include <utils/Singleton.h>
#include <binder/IBinder.h>
+#include <binder/IPermissionController.h>
#include <binder/IServiceManager.h>
#include <sensor/ISensorServer.h>