use of com.amaze.filemanager.utils.provider.UtilitiesProvider in project AmazeFileManager by TeamAmaze.
the class AppConfig method onCreate.
@Override
public void onCreate() {
super.onCreate();
// selector in srcCompat isn't supported without this
AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
mInstance = this;
utilsProvider = new UtilitiesProvider(this);
mUtilsHandler = new UtilsHandler(this);
sBackgroundHandlerThread.start();
sBackgroundHandler = new Handler(sBackgroundHandlerThread.getLooper());
// disabling file exposure method check for api n+
StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder();
StrictMode.setVmPolicy(builder.build());
}
Aggregations