mroczis / netmonster-core

Android Telephony SDK bridge with some additional features
Apache License 2.0
334 stars 71 forks source link

Long time to retrieve CellInfo #76

Open jozefvodicka opened 1 year ago

jozefvodicka commented 1 year ago

On Samsung S53 it takes 5+ seconds to retrieve cellInfo. On some devices we received info in 100ms. Is this a hardware issue or algorithm related?

mroczis commented 1 year ago

NetMonster internally uses TelephonyManager#requestCellInfoUpdate which is asynchronous. I'd bet that such delay is caused there, hence this should be hardware issue.

I'll have a look if I can get my hand on S53 and keep you updated.

jozefvodicka commented 1 year ago

It looks like, the whole UI freezes during the retrieval time. It makes no sense as it should be async. Maybe there is some bug connected to hardware which "occupies" CPU and GPU.

jozefvodicka commented 1 year ago

Does anybody tested this scenario on given samsung device?