| 1234567891011121314151617181920212223 |
- package com.cooleshow.base.utils;
- import android.app.Application;
- import androidx.core.content.FileProvider;
- /**
- * <pre>
- * author: blankj
- * blog : http://blankj.com
- * time : 2020/03/19
- * desc :
- * </pre>
- */
- public class UtilsFileProvider extends FileProvider {
- @Override
- public boolean onCreate() {
- //noinspection ConstantConditions
- Utils.init((Application) getContext().getApplicationContext());
- return true;
- }
- }
|