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

Commit c40c00dc authored by Robert Wu's avatar Robert Wu
Browse files

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
parent b593125e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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) {