am 2dcfc7a9: Merge "Fix for MidiManager bug" into mnc-dev
* commit '2dcfc7a9972de3abfebdf2d84bcba0095e4fbae5': 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