This commit is contained in:
@@ -355,7 +355,7 @@ final public class M3U8InfoThread implements Runnable {
|
||||
File keyF = new File(info.keyPath);
|
||||
if (!keyF.exists()) {
|
||||
ALog.d(TAG, "密钥不存在,下载密钥");
|
||||
FileUtil.createFile(keyF.getPath());
|
||||
FileUtil.createFile(keyF);
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -150,7 +150,7 @@ public class M3U8LiveLoader extends BaseM3U8Loader {
|
||||
config.stateHandler = mStateHandler;
|
||||
|
||||
if (!config.tempFile.exists()) {
|
||||
FileUtil.createFile(config.tempFile.getPath());
|
||||
FileUtil.createFile(config.tempFile);
|
||||
}
|
||||
ThreadTask threadTask = new ThreadTask(config);
|
||||
M3U8ThreadTaskAdapter adapter = new M3U8ThreadTaskAdapter(config);
|
||||
|
||||
@@ -434,7 +434,7 @@ public class M3U8VodLoader extends BaseM3U8Loader {
|
||||
config.stateHandler = mStateHandler;
|
||||
config.peerIndex = index;
|
||||
if (!config.tempFile.exists()) {
|
||||
FileUtil.createFile(config.tempFile.getPath());
|
||||
FileUtil.createFile(config.tempFile);
|
||||
}
|
||||
ThreadTask threadTask = new ThreadTask(config);
|
||||
M3U8ThreadTaskAdapter adapter = new M3U8ThreadTaskAdapter(config);
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
<resources>
|
||||
<string name="app_name">M3U8Component</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user