Commit 42a66683 authored by Geoffrey Métais's avatar Geoffrey Métais

Video player: Start playback service later

Should reduce ANR
parent 33d8feb9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment