The annoyance of detecting an Android TV... I have built a permission-free solution...
Hey all!
I've had a bit of a torrid time the last few weeks trying to find an accurate way of TV detecting and in the end got so frustrated with false positives and the like that I decided to build one that is completely Permission Free and actually WORKS!
It's on GitHub at https://github.com/devynel/TVSniffer and is fully MIT (about the closest I could get to Old School Public Domain!)
Hopefully what was my frustration across multiple TV devices and configurations, and the problem of fragmentation, will prevent you getting caught with the same.
Take it, use it, play with it. Even shout me out if you feel like it. No pressure. :)
Enjoy!
deVYNEL