Do not change orientation on TVs when entering fullscreen
This commit is contained in:
parent
d770c6fd88
commit
17ce699037
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue