mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-04 02:32:09 +08:00
修复清理缓存后查看日志时会导致APP崩溃的问题
This commit is contained in:
parent
13d910e638
commit
a9c6099337
@ -40,6 +40,7 @@ public class Utils {
|
|||||||
// https://stackoverflow.com/a/13357785
|
// https://stackoverflow.com/a/13357785
|
||||||
public static String getStringFromFile (String filePath) throws Exception {
|
public static String getStringFromFile (String filePath) throws Exception {
|
||||||
File fl = new File(filePath);
|
File fl = new File(filePath);
|
||||||
|
if (!fl.exists()) return "";
|
||||||
FileInputStream fin = new FileInputStream(fl);
|
FileInputStream fin = new FileInputStream(fl);
|
||||||
String ret = convertStreamToString(fin);
|
String ret = convertStreamToString(fin);
|
||||||
//Make sure you close all streams.
|
//Make sure you close all streams.
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
### 修复
|
### 修复
|
||||||
|
|
||||||
- 修复主题背景覆盖不全的问题
|
- 修复主题背景覆盖不全的问题
|
||||||
|
- 修复清理缓存后查看日志时会导致APP崩溃的问题
|
||||||
|
|
||||||
### 其他
|
### 其他
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user