linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Linphone-Android - Incoming call dialog not correc


From: Bruno Francesco
Subject: [Linphone-developers] Linphone-Android - Incoming call dialog not correctly updated
Date: Wed, 19 Oct 2011 08:53:06 +0000

Hi all,

I’ve seen the following issue on linphone for Android.

I don’t know whether it is already fixed.

 

How to reproduce:

Having 3 user register to a Sip server: 1 callee and 2 callers.

Let’s suppose callers’ name are caller_1 and caller_2.

Call the callee with caller_1 and see the incoming call dialog content reporting caller_1 as name

Call the callee with caller_2 and see that the incoming call dialog reports erroneously the caller_1 as name (expected was caller_2)

 

 

Root Cause:

The content of the dialog is set up in the onCreateDialog() in DialerActivity.java

Unfortunately the onCreateDialog() is called by Android only the very first time the Dialog is created (As long as you don’t use a different id in showDialog() method ), then Android keeps a copy of the

dialog  for every next call to showDialog().

 

Solution:

Just override the onPrepareDialog() which will be called every time the dialog is going to be shown and handle the content there.

 

Francesco Bruno

 

concept

 

Via Cardinal Massaia 83

10147 Torino – Italia

 




--
The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]