Merge "Check for LEANBACK instead of TELEVISION." into pie-cts-dev