natatapron / android-xbmcremote

Automatically exported from code.google.com/p/android-xbmcremote
0 stars 0 forks source link

Slow caller ID resolving when not connected to XBMC #710

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enable the "Show incoming calls" feature on XBMC Remote
2. Make sure the XBMC Server is not available
3. Receive an incoming call

What is the expected output? What do you see instead?
The expected result is that the caller's name is displayed instead of the phone 
number if the contact is saved. Instead, it takes over 10 seconds for the name 
to be displayed.

What version of XBMC Remote are you using?
1.0.9

Which Android device are you using (and which ROM, if custom)?
Sony Xperia Z, build number 10.1.A.1.434

Which XBMC revision are you running and on which platform?
XBMC 10.1, OSX

Please provide any additional information below.
 I suspect that this is because the app tries to find the XBMC server even if the app is not running. If I disable the "Show incoming calls" feature, or if there's a connection to the server, the problem disappears.

Maybe the broadcast receiver should only be activated when the app is running 
in the foreground or in the background only when connected to a server?

Original issue reported on code.google.com by aleksi...@gmail.com on 22 Apr 2013 at 8:26

GoogleCodeExporter commented 9 years ago
Note: I made an error in the issue, the XBMC version is 12.0

Original comment by aleksi...@gmail.com on 22 Apr 2013 at 8:41