mirror of
https://github.com/danog/termux-api.git
synced 2025-01-23 05:41:09 +01:00
parent
1be62a5c91
commit
9c104aac36
@ -125,7 +125,7 @@ public class MediaPlayerAPI {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected static MediaCommandHandler getMediaCommandHandler(final String command) {
|
protected static MediaCommandHandler getMediaCommandHandler(final String command) {
|
||||||
switch (command.toUpperCase()) {
|
switch (command == null ? "" : command.toUpperCase()) {
|
||||||
case "INFO":
|
case "INFO":
|
||||||
return infoHandler;
|
return infoHandler;
|
||||||
case "PLAY":
|
case "PLAY":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user