Need cause for: double dialer icon in Recents when ACTION_CALL is intercepted and re-sent
Posted
by
Emmanuel
on Stack Overflow
See other posts from Stack Overflow
or by Emmanuel
Published on 2011-11-01T15:58:58Z
Indexed on
2011/11/14
17:50 UTC
Read the original article
Hit count: 280
android
Note that this happens on Android version 2.1 update1 and 2.2. This seems gone in later versions.
Of course I would like to know the workaround. But if there are none, at least if this is a known bug, please provide with a link to the bug. I would also accept the source code fix info or diff where this was fixed.
I have an application that intercepts an outgoing call, asks a question to the user, and then depending on the answer it could re-send the call. This works fine.
But then when you go to the Recents (hold the Home key) there are two slightly different dialer icons there: one from the dialer application, and a second one for the resending of the call action:
This means when you click on the first icon, it opens the dialer. But when you click on the second one, it redials the last number.
I tried using android:excludeFromRecents="true"
for all my activities. I also tried Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS
when I start the call action. No luck.
© Stack Overflow or respective owner