Skip to content

Commit 6639727

Browse files
author
Aries Hoo²⁰¹⁹
authored
Update FastFileProvider.java
修改初始化FastManager策略
1 parent 5d8526a commit 6639727

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

library/src/main/java/com/aries/library/fast/FastFileProvider.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
* 1、2019-9-16 14:34:51 增加FastManager初始化
1818
*/
1919
public class FastFileProvider extends FileProvider {
20-
@Override
21-
public boolean onCreate() {
22-
Context context = getContext().getApplicationContext();
23-
if(context==null){
24-
context = FastUtil.getApplication();
25-
}
26-
Log.d("FastFileProvider", "context:" + context);
27-
FastManager.init((Application) context);
28-
return super.onCreate();
29-
}
20+
// @Override
21+
// public boolean onCreate() {
22+
// Context context = getContext().getApplicationContext();
23+
// if(context==null){
24+
// context = FastUtil.getApplication();
25+
// }
26+
// Log.d("FastFileProvider", "context:" + context);
27+
// FastManager.init((Application) context);
28+
// return super.onCreate();
29+
// }
3030
}

0 commit comments

Comments
 (0)