Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa5895a3 authored by Yu Shan's avatar Yu Shan
Browse files

Use empty impl for markVintfStability on host.

This is required to run ravenwood host side test against AIDL
compiler generated code.

Flag: EXEMPT for test only
Test: Local patch, verify unit test using AIDL callbacks pass on host.
Bug: 349140710
Change-Id: I5f2ed0fdd692423e44336293fccd7ecefbe6cabf
parent e55abe63
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -708,9 +708,16 @@ public class Binder implements IBinder {
     *
     * @hide
     */
    @android.ravenwood.annotation.RavenwoodReplace
    @SystemApi(client = SystemApi.Client.PRIVILEGED_APPS)
    public final native void markVintfStability();

    /** @hide */
    private void markVintfStability$ravenwood() {
        // This is not useful for Ravenwood which uses local binder.
        // TODO(b/361785059): Use real native libbinder.
    }

    /**
     * Use a VINTF-stability binder w/o VINTF requirements. Should be called
     * on a binder before it is sent out of process.