统一日志管理

This commit is contained in:
Jenly
2020-04-27 21:44:01 +08:00
parent 86dac6216b
commit 078d31b2ad
19 changed files with 502 additions and 155 deletions

View File

@@ -26,7 +26,8 @@ import android.media.MediaPlayer;
import android.os.Build;
import android.os.Vibrator;
import android.preference.PreferenceManager;
import android.util.Log;
import com.king.zxing.util.LogUtils;
import java.io.Closeable;
import java.io.IOException;
@@ -106,7 +107,7 @@ public final class BeepManager implements MediaPlayer.OnErrorListener, Closeable
mediaPlayer.prepare();
return mediaPlayer;
} catch (IOException ioe) {
Log.w(TAG, ioe);
LogUtils.w(ioe);
mediaPlayer.release();
return null;
}