Android Bluetooth socket freeze application

后端 未结 6 2380
南旧
南旧 2021-02-14 23:46

I have a strange issue with bluetooth socket. If I create socket and later close application, android device freeze with very hight CPU load.

Here my sample code:

<
6条回答
  •  被撕碎了的回忆
    2021-02-15 00:04

    Did you try looking into traceview ? which method is stalling the cpu ? That may give you some insights on this problem. Even if this happens only on a particular device, you should be able to find with traceview.

提交回复
热议问题