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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user