MIDI: Update registerDeviceCallback link

The deprecated registerDeviceCallback is linking to itself.
This change links it to the new API added in Android T.

Bug: 254685253
Change-Id: Id2df0605059f79127b9ce439080140995b8b64de
Test: m -j 8 ds-docs-switched
Test: Check out/soong/.intermediates/frameworks/base/ds-docs-java
This commit is contained in:
Robert Wu
2022-10-20 19:22:00 +00:00
parent b593125eda
commit c40c00dc92

View File

@@ -240,8 +240,7 @@ public final class MidiManager {
* @param handler The {@link android.os.Handler Handler} that will be used for delivering the
* device notifications. If handler is null, then the thread used for the
* callback is unspecified.
* @deprecated Use the {@link #registerDeviceCallback}
* method with Executor and transport instead.
* @deprecated Use {@link #registerDeviceCallback(int, Executor, DeviceCallback)} instead.
*/
@Deprecated
public void registerDeviceCallback(DeviceCallback callback, Handler handler) {