mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-08-12 21:28:53 +00:00
Do not change orientation on TVs when entering fullscreen
This commit is contained in:
@@ -1909,8 +1909,8 @@ public final class VideoDetailFragment
|
||||
return;
|
||||
}
|
||||
|
||||
// On tablets, just toggle fullscreen UI without orientation change.
|
||||
if (DeviceUtils.isTablet(activity)) {
|
||||
// On tablets and TVs, just toggle fullscreen UI without orientation change.
|
||||
if (DeviceUtils.isTablet(activity) || DeviceUtils.isTv(activity)) {
|
||||
playerUi.get().toggleFullscreen();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user