summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2018-03-20 15:06:15 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-03-20 15:06:15 +0000
commit448003fc491d191e3d0f6fc96ee67293f7b1dc8e (patch)
treeab1990ece4b883fdeb689477e69e97202c70a991
parent2543fbd8a2a42bbf48d329c63d5d936ba17a0486 (diff)
parentbd12b4476bbcade841df94dfd3c8242ccf8a0832 (diff)
Merge "Frameworks: Fix Binder.joinThreadPool"
-rw-r--r--core/java/android/os/Binder.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/java/android/os/Binder.java b/core/java/android/os/Binder.java
index 336e1b48251e..5652d6dec8a5 100644
--- a/core/java/android/os/Binder.java
+++ b/core/java/android/os/Binder.java
@@ -22,6 +22,7 @@ import android.util.ExceptionUtils;
import android.util.Log;
import android.util.Slog;
+import com.android.internal.os.BinderInternal;
import com.android.internal.util.FastPrintWriter;
import com.android.internal.util.FunctionalUtils.ThrowingRunnable;
import com.android.internal.util.FunctionalUtils.ThrowingSupplier;
@@ -361,7 +362,9 @@ public class Binder implements IBinder {
* Add the calling thread to the IPC thread pool. This function does
* not return until the current process is exiting.
*/
- public static final native void joinThreadPool();
+ public static final void joinThreadPool() {
+ BinderInternal.joinThreadPool();
+ }
/**
* Returns true if the specified interface is a proxy.