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

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

Change-Id: If93206a1e4d890339a42812887df36fd6e6df003
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);
         }