summaryrefslogtreecommitdiff
path: root/libs/binder/IPCThreadState.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-01-19 16:43:16 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-01-19 16:43:16 +0000
commitb86f892039f13f689ea8df485cc5ac908999afe2 (patch)
treed51cb7f5c1202ad3b571f27f3351b2d237b6bb64 /libs/binder/IPCThreadState.cpp
parent38bf134fc5415ca12255a5b509bd62680fb5af43 (diff)
parentf210b50c00783ebc77affb52683744e785bb4bbb (diff)
Merge "libbinder: setupPolling flushes commands"
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
-rw-r--r--libs/binder/IPCThreadState.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp
index 7d01e0b1c3..2eee2c40a3 100644
--- a/libs/binder/IPCThreadState.cpp
+++ b/libs/binder/IPCThreadState.cpp
@@ -629,6 +629,7 @@ status_t IPCThreadState::setupPolling(int* fd)
}
mOut.writeInt32(BC_ENTER_LOOPER);
+ flushCommands();
*fd = mProcess->mDriverFD;
return 0;
}