@TargetApi(Build.VERSION_CODES.KITKAT)
    public static boolean hasConsumerIrFeature(PackageManager manager) {
        return manager.hasSystemFeature(PackageManager.FEATURE_CONSUMER_IR);
    }
@ TargetApi ( Build . VERSION_CODES . KITKAT ) public static boolean hasConsumerIrFeature ( PackageManager manager ) { return manager . hasSystemFeature ( PackageManager . FEATURE_CONSUMER_IR ) ; }
Checks if the device has a consumer IR feature.
@param manager the package manager.
@return {@code true} if the device has a consumer IR feature.