Merge pull request #241 from Noahsark/master

Clean my code and fix a bug of MusicPlayer
This commit is contained in:
LevelX2 2013-06-14 11:57:20 -07:00
commit fa5ddb23a2

View file

@ -25,6 +25,7 @@ public class MusicPlayer {
filelist.removeAll();
File filedir = new File(filepath);
File[] fileread = filedir.listFiles();
if(fileread == null) return false;
if(fileread.length == 0)return false;
String filename;
for(File f:fileread){