commit | 7390b72d6db3380a9175775c4f006275bb52fcb4 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Jul 28 21:45:13 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 28 21:45:13 2020 +0000 |
tree | 478b0edfc3abe347b8fa62f79ec3c30433c600ab | |
parent | 8d80b36c881c46c5c8097ed1e2f4428b38017dc4 [diff] | |
parent | d0d0535155b91bf33df77f6dcdab5c628d7a53fa [diff] |
libbinder: setupPolling returns status_t am: d8c85672fc am: 587420d8d9 am: d0d0535155 Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1372253 Change-Id: I1773401c1bd804c40b420cdbd48a83b874b2ceda
diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp index d67ce15..157538e 100644 --- a/libs/binder/IPCThreadState.cpp +++ b/libs/binder/IPCThreadState.cpp
@@ -614,7 +614,7 @@ talkWithDriver(false); } -int IPCThreadState::setupPolling(int* fd) +status_t IPCThreadState::setupPolling(int* fd) { if (mProcess->mDriverFD < 0) { return -EBADF;
diff --git a/libs/binder/include/binder/IPCThreadState.h b/libs/binder/include/binder/IPCThreadState.h index 8d51cdc..2bd39a7 100644 --- a/libs/binder/include/binder/IPCThreadState.h +++ b/libs/binder/include/binder/IPCThreadState.h
@@ -85,8 +85,8 @@ int64_t clearCallingIdentity(); // Restores PID/UID (not SID) void restoreCallingIdentity(int64_t token); - - int setupPolling(int* fd); + + status_t setupPolling(int* fd); status_t handlePolledCommands(); void flushCommands();