Merge "binder_rpc_session: wait longer to shutdown" am: 5d4da609ef am: 0c34302e21

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1831260

Change-Id: Ief54f3c4e19f7a104d21cb06ce15b8ec73d4d84c
diff --git a/libs/binder/tests/rpc_fuzzer/main.cpp b/libs/binder/tests/rpc_fuzzer/main.cpp
index 47a9913..c848798 100644
--- a/libs/binder/tests/rpc_fuzzer/main.cpp
+++ b/libs/binder/tests/rpc_fuzzer/main.cpp
@@ -100,7 +100,7 @@
 
     if (hangupBeforeShutdown) {
         connections.clear();
-        while (!server->listSessions().empty() && server->numUninitializedSessions()) {
+        while (!server->listSessions().empty() || server->numUninitializedSessions()) {
             // wait for all threads to finish processing existing information
             usleep(1);
         }