diff --git a/core/api/module-lib-current.txt b/core/api/module-lib-current.txt index d3fc379edf731..563ab8149bd18 100644 --- a/core/api/module-lib-current.txt +++ b/core/api/module-lib-current.txt @@ -300,10 +300,6 @@ package android.os { method @RequiresPermission(anyOf={android.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, android.Manifest.permission.NETWORK_STACK}) public void reportNetworkInterfaceForTransports(@NonNull String, @NonNull int[]) throws java.lang.RuntimeException; } - public class Binder implements android.os.IBinder { - method public final void markVintfStability(); - } - public class BluetoothServiceManager { method @NonNull public android.os.BluetoothServiceManager.ServiceRegisterer getBluetoothManagerServiceRegisterer(); } diff --git a/core/api/system-current.txt b/core/api/system-current.txt index bb14dc008a574..e6555ddfa0cf3 100644 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -9239,6 +9239,7 @@ package android.os { public class Binder implements android.os.IBinder { method public int handleShellCommand(@NonNull android.os.ParcelFileDescriptor, @NonNull android.os.ParcelFileDescriptor, @NonNull android.os.ParcelFileDescriptor, @NonNull String[]); + method public final void markVintfStability(); method public static void setProxyTransactListener(@Nullable android.os.Binder.ProxyTransactListener); } diff --git a/core/java/android/os/Binder.java b/core/java/android/os/Binder.java index 2f4b2c411c1d6..da18e19d6812d 100644 --- a/core/java/android/os/Binder.java +++ b/core/java/android/os/Binder.java @@ -562,7 +562,7 @@ public class Binder implements IBinder { * * @hide */ - @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES) + @SystemApi(client = SystemApi.Client.PRIVILEGED_APPS) public final native void markVintfStability(); /**