mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-11-17 07:37:11 +00:00
reintroduced hideControls method.
This commit is contained in:
@@ -662,6 +662,8 @@ public final class PopupVideoPlayer extends Service {
|
||||
videoPlayPause.setBackgroundResource(R.drawable.ic_pause_white);
|
||||
lockManager.acquireWifiAndCpu();
|
||||
|
||||
hideControls(DEFAULT_CONTROLS_DURATION, DEFAULT_CONTROLS_HIDE_TIME);
|
||||
|
||||
windowLayoutParams.flags = WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
|
||||
windowManager.updateViewLayout(playerImpl.getRootView(), windowLayoutParams);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user