Do not change orientation on TVs when entering fullscreen
This commit is contained in:
parent
d770c6fd88
commit
17ce699037
@ -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…
x
Reference in New Issue
Block a user