public static boolean hasTvFeature(Context context) {
        PackageManager pm = context.getPackageManager();
        return pm.hasSystemFeature(PackageManager.FEATURE_LIVE_TV);
    }
Created by guohao4 on 2017/10/24.
Email: Tornaco@163.com
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/OsUtils.java