From acd1987950d54afef1f69dad11840996c22cb8fe Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Fri, 16 Mar 2018 15:58:24 -0700 Subject: [PATCH] Frameworks: Fix Binder.joinThreadPool Fix the lack of a native implementation. Bug: 75254055 Bug: 75291614 Test: atest BinderTest Change-Id: Id5b15442a59851e566a24d406a7487f9de66d42f --- core/java/android/os/Binder.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/java/android/os/Binder.java b/core/java/android/os/Binder.java index ff7c0c6681c68..44bd35aa896f6 100644 --- a/core/java/android/os/Binder.java +++ b/core/java/android/os/Binder.java @@ -376,7 +376,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.