pub unsafe extern "C" fn AIBinder_forceDowngradeToSystemStability(
binder: *mut AIBinder,
)
Expand description
Given a binder interface at a certain stability, there may be some requirements associated with that higher stability level. For instance, a VINTF stability binder is required to be in the VINTF manifest. This API can be called to use that same interface within the system partition.
WARNING: you must hold on to a binder instance after this is set, while you
are using it. If you get a binder (e.g. ...->asBinder().get()
), you must
save this binder and then
use it. For instance:
auto binder = ...->asBinder();
AIBinder_forceDowngradeToSystemStability(binder.get());
doSomething(binder);