summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2021-03-26 01:37:14 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-03-26 01:37:14 +0000
commit7236cf6dca8a05273b4dc2bc9c369289f0fd909d (patch)
treef6b8c7fb7df270c1009bb764d90dc7606044ae92 /core/java
parentc4bc4fb144094b76d565ff1e0ab23e3998ba7b17 (diff)
parentbf6bbc60aa09f1ef2ee2e8f4b0ff3a7379204155 (diff)
Merge "Binder: allow stability downgrade"
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/os/Binder.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/os/Binder.java b/core/java/android/os/Binder.java
index 6425c250f317..f5130bcf3088 100644
--- a/core/java/android/os/Binder.java
+++ b/core/java/android/os/Binder.java
@@ -543,6 +543,16 @@ public class Binder implements IBinder {
public final native void markVintfStability();
/**
+ * Use a VINTF-stability binder w/o VINTF requirements. Should be called
+ * on a binder before it is sent out of process.
+ *
+ * This must be called before the object is sent to another process.
+ *
+ * @hide
+ */
+ public final native void forceDowngradeToSystemStability();
+
+ /**
* Flush any Binder commands pending in the current thread to the kernel
* driver. This can be
* useful to call before performing an operation that may block for a long