ConsumerIrManage.hasIrEmitter() always returns false (API 19)
问题 I call ConsumerIrManager.hasIrEmitter() on my LG G2, but it always returns false . According to the documentation on Infrared transmitters: When running on a device that includes an infrared (IR) transmitter, you can now transmit IR signals using the ConsumerIrManager APIs. To get an instance of ConsumerIrManager , call getSystemService() with CONSUMER_IR_SERVICE as the argument. You can then query the device's supported IR frequencies with getCarrierFrequencies() and transmit signals by