* commit 'f2fd5002627cd92d5e10d2fd6496c80e8864edb3': Fix for MidiManager bug
This commit is contained in:
@@ -691,6 +691,9 @@ final class SystemServiceRegistry {
|
||||
@Override
|
||||
public MidiManager createService(ContextImpl ctx) {
|
||||
IBinder b = ServiceManager.getService(Context.MIDI_SERVICE);
|
||||
if (b == null) {
|
||||
return null;
|
||||
}
|
||||
return new MidiManager(IMidiManager.Stub.asInterface(b));
|
||||
}});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user