equal
deleted
inserted
replaced
262 } |
262 } |
263 |
263 |
264 // Called when process completed |
264 // Called when process completed |
265 void CDiscoveryDlgManager::DeviceDiscoveryCompleted() |
265 void CDiscoveryDlgManager::DeviceDiscoveryCompleted() |
266 { |
266 { |
267 LOG1("[CDiscoveryDlgManager::DeviceDiscoveryCompleted]\t Before dissmissing the process/wait dialog, iDiscoveryCompleted has value of %d", iDiscoveryCompleted); |
|
268 // // Added this to avoid multiple "Search Again" texts, because server sends DeviceDiscoveryCompleted() more than once |
267 // // Added this to avoid multiple "Search Again" texts, because server sends DeviceDiscoveryCompleted() more than once |
269 if( iDiscoveryCompleted ) |
268 if( iDiscoveryCompleted ) |
270 { |
269 { |
271 return; |
270 return; |
272 } |
271 } |
|
272 |
|
273 LOG1("[CDiscoveryDlgManager::DeviceDiscoveryCompleted]\t Before dissmissing the process/wait dialog, iDiscoveryCompleted has value of %d", iDiscoveryCompleted); |
273 |
274 |
274 // Searching over, flag is essential |
275 // Searching over, flag is essential |
275 iSearchingCancelled = ETrue; |
276 iSearchingCancelled = ETrue; |
276 |
277 |
277 iActiveTitleText.Set( iSelectDeviceText->Des() ); |
278 iActiveTitleText.Set( iSelectDeviceText->Des() ); |
286 TRAP_IGNORE( iHiddenDiscoveryDialog->ProcessFinishedL() ); |
287 TRAP_IGNORE( iHiddenDiscoveryDialog->ProcessFinishedL() ); |
287 iHiddenDiscoveryDialog = NULL; |
288 iHiddenDiscoveryDialog = NULL; |
288 } |
289 } |
289 |
290 |
290 iDiscoveryCompleted = ETrue; |
291 iDiscoveryCompleted = ETrue; |
291 if ( iActivePopup ) |
292 if ((iActivePopup) && (iPopupList)) |
292 { |
293 { |
293 iPopupList->Heading()->CancelAnimation(); |
294 iPopupList->Heading()->CancelAnimation(); |
294 |
295 |
295 TRAP_IGNORE( RemoveCachedIconsL() ); |
296 TRAP_IGNORE( RemoveCachedIconsL() ); |
296 TRAP_IGNORE( AddSearchAgainTextL() ); |
297 TRAP_IGNORE( AddSearchAgainTextL() ); |