mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2025-10-04 02:09:41 +02:00
Fix next video and refactor
- Refactor VideoItemDetailActivity, StreamExtractorWorker - Remove redundant styles - Change dimensions - Nicer animation/transitions
This commit is contained in:
parent
bd1c7851c7
commit
33e29be7db
23 changed files with 1625 additions and 2045 deletions
|
@ -2,14 +2,12 @@ package org.schabi.newpipe;
|
|||
|
||||
import android.app.Activity;
|
||||
import android.content.Intent;
|
||||
import android.preference.PreferenceManager;
|
||||
import android.support.v7.app.AppCompatActivity;
|
||||
import android.os.Bundle;
|
||||
import android.preference.PreferenceManager;
|
||||
import android.util.Log;
|
||||
import android.widget.Toast;
|
||||
|
||||
import org.schabi.newpipe.detail.VideoItemDetailActivity;
|
||||
import org.schabi.newpipe.detail.VideoItemDetailFragment;
|
||||
import org.schabi.newpipe.extractor.NewPipe;
|
||||
import org.schabi.newpipe.extractor.StreamingService;
|
||||
import org.schabi.newpipe.util.NavStack;
|
||||
|
@ -136,7 +134,7 @@ public class RouterActivity extends Activity {
|
|||
break;
|
||||
case STREAM:
|
||||
callIntent.setClass(this, VideoItemDetailActivity.class);
|
||||
callIntent.putExtra(VideoItemDetailFragment.AUTO_PLAY,
|
||||
callIntent.putExtra(VideoItemDetailActivity.AUTO_PLAY,
|
||||
PreferenceManager.getDefaultSharedPreferences(this)
|
||||
.getBoolean(
|
||||
getString(R.string.autoplay_through_intent_key), false));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue