flutter_ijkplayer icon indicating copy to clipboard operation
flutter_ijkplayer copied to clipboard

[Need help]屏幕常亮

Open ciawin opened this issue 4 years ago • 2 comments

全屏播放的时候怎么设置屏幕常亮呢?

ciawin avatar Apr 26 '20 02:04 ciawin

目前没有添加这个功能

CaiJingLong avatar Apr 26 '20 02:04 CaiJingLong

window.setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON, WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);

拿走不谢

CodeGather avatar Apr 27 '20 09:04 CodeGather