ConsumerIrManager not working on HTC m8 lollipop

耗尽温柔 提交于 2019-12-05 17:47:16

I recently had the same issue on the HTC One M7 once updated to Lollipop. I pulled some JARs and APKs from the phone and decompiled them to found that they are not using the ConsumerIrManager like every device is doing since Android 4.4. Worst, they rolled back and use the same libraries they were using before 4.4. In my case, I rolled back my implementation using the HTC IR API (see https://www.htcdev.com/devcenter/opensense-sdk/htc-ir-api), and my code is now working.

unless the issue is related to: HTC ONE M8 IR Blaster after Lollipop Update not working

please note that the HTC IR APIs (with Lollipop / Sense 7) is now deprecated (technically removed) - note they are already under the legacy APIs section.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!