sandy0sonu / gtalksms

Automatically exported from code.google.com/p/gtalksms
0 stars 0 forks source link

Calls from blacklisted numbers should not send a notification #329

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add a phone number to the phone's blacklist
2. Receive a call from said phone number

What is the expected output?
- No notification should be sent for calls from this number.

What do you see instead?
- A notification is sent, even though the phone does not ring.

Additional informations:
My phone has the feature of being able to add phone numbers to a black list, 
which causes the phone to ignore any calls from this number entirely. The phone 
doesn't ring, and the missed call is not displayed. This behavior contrasts 
with gTalkSMS, which still sends a notification regardless of whether or not 
the phone number is on the blacklist.

I don't know if the blacklist feature is provided as part of the stock Android 
OS, or if it's some sort of extra added by the particular ROM I'm using. 
Regardless, it seems like something that could be improved.

This is low priority, since it's more of an annoyance than anything.

Phone model: HTC Magic w/ Chronos Ginger X v2.4.0 (Based on Android 2.3.7)

Original issue reported on code.google.com by rob.pe...@gmail.com on 7 Jun 2013 at 6:28

GoogleCodeExporter commented 8 years ago
I'm having the same issue on CyanogenMod, but this also happens with any other 
app using phone call notification (e.g. my phone book display toast). IMHO this 
should be reported as a bug/wishlist for the ROM, since the sensible behaviour 
would be to not generate any notifications to any app when a blacklisted number 
is calling.

Original comment by m...@the-compiler.org on 6 Dec 2013 at 7:31

GoogleCodeExporter commented 8 years ago
I'm running into this using Nexus 4 with the Currents Caller ID app, which also 
let's you block numbers. I suspect that both call blocking and gtalksms just 
hooks into the incoming call part of the API, so they aren't aware of each 
other. Short of delaying the incoming call notification and checking if the 
phone is still ringing, I'm not sure this can even be fixed from either side.

Original comment by rob.pe...@gmail.com on 6 Dec 2013 at 3:19