From 1324531355607dcabacd4e1ece9429910a0225f0 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Mon, 21 Nov 2016 09:13:52 -0700 Subject: [PATCH] Stub Binder API. Provide a stub API for AOSP code to call. Test: builds Bug: 32715088 Change-Id: Iab74d269e795a722e82fd3fa304200d57d152f57 --- core/java/android/os/Binder.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/core/java/android/os/Binder.java b/core/java/android/os/Binder.java index ea8ba2f1e6dfe..50a3f4c010510 100644 --- a/core/java/android/os/Binder.java +++ b/core/java/android/os/Binder.java @@ -129,6 +129,17 @@ public class Binder implements IBinder { return sTransactionTracker; } + /** @hide */ + public static IBinder allowBlocking(IBinder binder) { + // NOTE: real implementation on internal branch + return binder; + } + + /** @hide */ + public static void copyAllowBlocking(IBinder fromBinder, IBinder toBinder) { + // NOTE: real implementation on internal branch + } + /* mObject is used by native code, do not remove or rename */ private long mObject; private IInterface mOwner;