Skip to content
Snippets Groups Projects
Commit 99bd0909 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Fix MediaParsingService start on Oreo+ devices

parent 7e9ece6d
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ public class StartActivity extends FragmentActivity implements StoragePermission
private void startMedialibrary(final boolean firstRun, final boolean upgrade) {
if (!VLCApplication.getMLInstance().isInitiated() && Permissions.canReadStorage(StartActivity.this))
startService(new Intent(Constants.ACTION_INIT, null, StartActivity.this, MediaParsingService.class)
Util.startService(this, new Intent(Constants.ACTION_INIT, null, StartActivity.this, MediaParsingService.class)
.putExtra(Constants.EXTRA_FIRST_RUN, firstRun)
.putExtra(Constants.EXTRA_UPGRADE, upgrade));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment