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

Video player: Start playback service later

Should reduce ANR
parent 33d8feb9
No related branches found
No related tags found
No related merge requests found
......@@ -288,7 +288,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
PlaybackService.Companion.start(this);
Util.checkCpuCompatibility(this);
mSettings = Settings.INSTANCE.getInstance(this);
......@@ -402,6 +401,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS
mSavedTime = savedInstanceState.getLong(KEY_TIME);
mUri = (Uri) savedInstanceState.getParcelable(KEY_URI);
}
PlaybackService.Companion.start(this);
}
@Override
......
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