Disable no media file checker at during startup

This commit is contained in:
seven332 committed 2018-07-16 13:56:07 +08:00
1 parent 6f99f5a226
commit 3cbf5d0a8f
1 file changed
+8 -7
@@ -111,13 +111,14 @@ public class EhApplication extends RecordingApplication implements Thread.Uncaug
Analytics.start(this);
}
// Check no media file
UniFile downloadLocation = Settings.getDownloadLocation();
if (Settings.getMediaScan()) {
CommonOperations.removeNoMediaFile(downloadLocation);
} else {
CommonOperations.ensureNoMediaFile(downloadLocation);
}
// Disable no media file checker for now. Some devices stuck here.
// // Check no media file
// UniFile downloadLocation = Settings.getDownloadLocation();
// if (Settings.getMediaScan()) {
// CommonOperations.removeNoMediaFile(downloadLocation);
// } else {
// CommonOperations.ensureNoMediaFile(downloadLocation);
// }
// Clear temp dir
clearTempDir();