Merge "MIDI: Update registerDeviceCallback link"

This commit is contained in:
Robert Wu
2022-10-21 20:48:03 +00:00
committed by Android (Google) Code Review

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) {