Hi, I wrote a video player with exoplayer library, it is always locked screen when playing .I have set WAKE_LOCK & keepScreenOn in the manifest file. but it doesn't work.
following is my manifest
My goal is to keep the screen on when video is playing.
Thanks
following is my manifest
manifest:
AddPermission(android.permission.WAKE_LOCK)
SetActivityAttribute(Main, android:keepScreenOn, "true")
'End of default text.
Thanks