v18 System.IdleTime() is not affected by playback keys
#1
I use !System.IdleTime(5) in DialogSeekBar.xml, so that it goes away when paused for more than 5 seconds. The problem is that now it doesn't show up when I press play/pause on a keyboard or a remote, unless I have already pressed another key in the previous 5 seconds. If I use the space bar on a regular keyboard, it works. Looking at the logs it seems that pressing the media keys only generates an announcement, but doesn't register it as a user action.

Tested with Windows 7 and Android Oreo on Shield

Log for Android, remote only: https://pastebin.com/tCmWetrJ

Log for Android, keyboard only: https://pastebin.com/ZhKnh1Cf
Reply

Logout Mark Read Team Forum Stats Members Help
System.IdleTime() is not affected by playback keys0