diff options
| author | Steven Moreland <smoreland@google.com> | 2021-03-26 01:37:14 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-03-26 01:37:14 +0000 |
| commit | 7236cf6dca8a05273b4dc2bc9c369289f0fd909d (patch) | |
| tree | f6b8c7fb7df270c1009bb764d90dc7606044ae92 /core/java | |
| parent | c4bc4fb144094b76d565ff1e0ab23e3998ba7b17 (diff) | |
| parent | bf6bbc60aa09f1ef2ee2e8f4b0ff3a7379204155 (diff) | |
Merge "Binder: allow stability downgrade"
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/os/Binder.java | 10 |
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 |
