This commit is contained in:
Avently 2020-01-26 07:33:52 +03:00
parent cc438fdb7b
commit 26e487c01a
3 changed files with 3 additions and 1 deletions

View file

@ -62,7 +62,7 @@ dependencies {
exclude module: 'support-annotations' exclude module: 'support-annotations'
}) })
implementation 'com.github.TeamNewPipe:NewPipeExtractor:8e53fda' implementation 'com.github.TeamNewPipe:NewPipeExtractor:ff61e284'
testImplementation 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:2.23.0' testImplementation 'org.mockito:mockito-core:2.23.0'

View file

@ -1175,6 +1175,7 @@ public class VideoDetailFragment
return autoPlayEnabled return autoPlayEnabled
&& !isExternalPlayerEnabled() && !isExternalPlayerEnabled()
&& (player == null || player.videoPlayerSelected()) && (player == null || player.videoPlayerSelected())
&& bottomSheetState != BottomSheetBehavior.STATE_HIDDEN
&& isAutoplayAllowedByUser(); && isAutoplayAllowedByUser();
} }

View file

@ -100,6 +100,7 @@
android:id="@+id/errorView" android:id="@+id/errorView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textIsSelectable="true"
android:typeface="monospace"/> android:typeface="monospace"/>
</HorizontalScrollView> </HorizontalScrollView>