am 238f03c9: am 2dcfc7a9: Merge "Fix for MidiManager bug" into mnc-dev

* commit '238f03c9b38182c2e4347ece097b4cb18ba926ab':
  Fix for MidiManager bug
This commit is contained in:
Ricardo Garcia
2015-07-20 19:11:07 +00:00
committed by Android Git Automerger

View File

@@ -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));
}});