Merge "Fix for MidiManager bug" into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2dcfc7a997
@@ -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