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

MainActivity restarts itself

(cherry picked from commit 2eb2ff86)
parent 82581daf
No related branches found
No related tags found
No related merge requests found
......@@ -697,7 +697,7 @@ public class MainActivity extends AudioPlayerContainerActivity implements Filter
((MediaBrowserFragment) fragment).clear();
mMediaLibrary.scanMediaItems(true);
} else if (resultCode == PreferencesActivity.RESULT_RESTART) {
Intent intent = new Intent(MainActivity.this, StartActivity.class);
Intent intent = new Intent(MainActivity.this, MainActivity.class);
finish();
startActivity(intent);
}
......
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