summaryrefslogtreecommitdiff
path: root/libs/binder/servicedispatcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/binder/servicedispatcher.cpp')
-rw-r--r--libs/binder/servicedispatcher.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/binder/servicedispatcher.cpp b/libs/binder/servicedispatcher.cpp
index 692cc95e3b..738ff4c8f5 100644
--- a/libs/binder/servicedispatcher.cpp
+++ b/libs/binder/servicedispatcher.cpp
@@ -275,7 +275,10 @@ int main(int argc, char* argv[]) {
while (-1 != (opt = getopt(argc, argv, "g"))) {
switch (opt) {
case 'g': {
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
serviceRetriever = &android::IServiceManager::getService;
+#pragma clang diagnostic pop
} break;
default: {
return Usage(argv[0]);