51
|
1 |
/*
|
|
2 |
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
73
|
14 |
* Description: FotaFullscreenDialog, which is responsible for showing the fullscreen dialog of FOTA from the docml.
|
51
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#include "fotafullscreendialog.h"
|
|
19 |
|
73
|
20 |
#include <HbAction.h>
|
51
|
21 |
#include <hbprogressbar.h>
|
|
22 |
#include <hbicon.h>
|
|
23 |
#include <hbextendedlocale.h>
|
|
24 |
#include <hbtranslator.h>
|
|
25 |
#include <e32std.h>
|
|
26 |
#include <e32math.h>
|
|
27 |
|
|
28 |
|
|
29 |
// ---------------------------------------------------------------------------
|
73
|
30 |
// HbFotaFullscreenDialog::HbFotaFullscreenDialog
|
51
|
31 |
// Constructor of the full screen dialogs, it takes all the widgets from the docml
|
|
32 |
// initializes it and sets the progress bar to zero.
|
|
33 |
// ---------------------------------------------------------------------------
|
|
34 |
//
|
|
35 |
|
|
36 |
|
73
|
37 |
HbFotaFullscreenDialog::HbFotaFullscreenDialog(CFotaServer* aObserver)
|
51
|
38 |
{
|
73
|
39 |
FLOG(_L("HbFotaFullscreenDialog::HbFotaFullscreenDialog >>"));
|
51
|
40 |
bool ok = false;
|
73
|
41 |
m_Server = aObserver;
|
|
42 |
m_loader.load(":/xml/data/fullscreendialog.docml", &ok);
|
51
|
43 |
if (!ok)
|
|
44 |
{
|
|
45 |
return;
|
|
46 |
}
|
73
|
47 |
m_Clicked = EFalse;
|
|
48 |
m_dialog = qobject_cast<HbDialog *> (m_loader.findWidget("dialog"));
|
51
|
49 |
|
73
|
50 |
m_dialog->setTimeout(HbPopup::NoTimeout);
|
51
|
51 |
|
73
|
52 |
m_PrimaryAction = qobject_cast<HbPushButton *> (m_loader.findWidget(
|
51
|
53 |
"btnHide"));
|
|
54 |
|
73
|
55 |
m_SecondaryAction = qobject_cast<HbPushButton *> (m_loader.findWidget(
|
51
|
56 |
"btnResumeLater"));
|
|
57 |
|
|
58 |
|
|
59 |
|
73
|
60 |
m_progressBar = qobject_cast<HbProgressBar *> (m_loader.findWidget(
|
51
|
61 |
"horizontalProgressBar"));
|
73
|
62 |
m_progressBar->setProgressValue(0);
|
51
|
63 |
|
73
|
64 |
m_InstallNote = qobject_cast<HbLabel *> (m_loader.findWidget(
|
|
65 |
"lblinstallnote"));
|
|
66 |
m_InstallNote->setPlainText(hbTrId(
|
|
67 |
"txt_device_update_info_installation_will_proceed_n"));
|
|
68 |
|
|
69 |
m_DownloadState = qobject_cast<HbLabel *> (m_loader.findWidget(
|
51
|
70 |
"lblDownloadState"));
|
73
|
71 |
m_DownloadState->setPlainText(hbTrId("txt_device_update_info_downloading"));
|
|
72 |
|
|
73 |
m_EmergencyIcon = qobject_cast<HbLabel *> (m_loader.findWidget(
|
|
74 |
"icnEmergency"));
|
51
|
75 |
HbIcon iconEmergency;
|
73
|
76 |
iconEmergency.setIconName(":/icons/qgn_prop_sml_http.svg");
|
|
77 |
m_EmergencyIcon->setIcon(iconEmergency);
|
|
78 |
|
|
79 |
m_ChargerIcon = qobject_cast<HbLabel *> (m_loader.findWidget("icnCharger"));
|
|
80 |
HbIcon iconCharger;
|
|
81 |
iconCharger.setIconName(":/icons/qgn_prop_sml_http.svg");
|
|
82 |
m_ChargerIcon->setIcon(iconCharger);
|
|
83 |
|
|
84 |
m_RestartIcon = qobject_cast<HbLabel *> (m_loader.findWidget("icnInstall"));
|
|
85 |
HbIcon iconRestart;
|
|
86 |
iconRestart.setIconName(":/icons/qgn_prop_sml_http.svg");
|
|
87 |
m_RestartIcon->setIcon(iconRestart);
|
|
88 |
|
|
89 |
m_PrimaryAction->setText(hbTrId("txt_common_button_hide"));
|
|
90 |
m_SecondaryAction->setText(hbTrId("txt_device_update_button_resume_later"));
|
|
91 |
m_Title = qobject_cast<HbLabel *> (m_loader.findWidget("lblTitle"));
|
|
92 |
m_Title->setPlainText(hbTrId("txt_device_update_title_updating_phone"));
|
|
93 |
|
|
94 |
|
|
95 |
m_ChargerNote = qobject_cast<HbLabel *> (m_loader.findWidget("lblcharger"));
|
|
96 |
m_ChargerNote->setPlainText(hbTrId(
|
51
|
97 |
"txt_device_update_info_FS_its_recommended_to_connec"));
|
73
|
98 |
|
|
99 |
m_RestartNote = qobject_cast<HbLabel *> (m_loader.findWidget(
|
|
100 |
"lblRestartNote"));
|
|
101 |
m_RestartNote->setPlainText(hbTrId(
|
|
102 |
"txt_device_update_info_FS_after_the_installation_the"));
|
|
103 |
|
|
104 |
m_EmergencyNote = qobject_cast<HbLabel *> (m_loader.findWidget(
|
|
105 |
"lblEmergency"));
|
|
106 |
m_EmergencyNote->setPlainText(hbTrId(
|
|
107 |
"txt_device_update_info_FS_during_the_installation_the"));
|
51
|
108 |
|
73
|
109 |
QObject::connect(m_PrimaryAction, SIGNAL(clicked()), this,
|
|
110 |
SLOT(lSKSelected()));
|
|
111 |
QObject::connect(m_SecondaryAction, SIGNAL(clicked()), this,
|
|
112 |
SLOT(rSKSelected()));
|
|
113 |
QObject::connect(m_dialog, SIGNAL(aboutToClose()), this,
|
51
|
114 |
SLOT(aboutToClose()));
|
|
115 |
|
73
|
116 |
refreshDialog();
|
|
117 |
FLOG(_L("HbFotaFullscreenDialog::HbFotaFullscreenDialog <<"));
|
51
|
118 |
}
|
|
119 |
|
|
120 |
|
|
121 |
|
|
122 |
// ---------------------------------------------------------------------------
|
73
|
123 |
// HbFotaFullscreenDialog::refreshDialog
|
51
|
124 |
// This function is used to refresh the contents of the full screen dialog
|
|
125 |
// once it is changed.
|
|
126 |
// ---------------------------------------------------------------------------
|
|
127 |
//
|
|
128 |
|
|
129 |
|
73
|
130 |
void HbFotaFullscreenDialog::refreshDialog()
|
51
|
131 |
{
|
73
|
132 |
FLOG(_L("HbFotaFullscreenDialog::RefreshDialog >>"));
|
|
133 |
if (m_dialog)
|
51
|
134 |
{
|
73
|
135 |
FLOG(_L("HbFotaFullscreenDialog::idialog >>"));
|
|
136 |
m_Clicked = EFalse;
|
|
137 |
m_dialog->show();
|
51
|
138 |
}
|
73
|
139 |
FLOG(_L("HbFotaFullscreenDialog::RefreshDialog <<"));
|
51
|
140 |
}
|
|
141 |
|
|
142 |
// ---------------------------------------------------------------------------
|
73
|
143 |
// HbFotaFullscreenDialog::setSoftwareDetails
|
51
|
144 |
// This function is called to set the details of the software,which is downloaded.
|
|
145 |
// ---------------------------------------------------------------------------
|
|
146 |
//
|
|
147 |
|
73
|
148 |
void HbFotaFullscreenDialog::setSoftwareDetails(int size,
|
51
|
149 |
const QString version, const QString aName)
|
|
150 |
{
|
|
151 |
//set Sw Details
|
73
|
152 |
FLOG(_L("HbFotaFullscreenDialog::RefreshDialog >>"));
|
|
153 |
m_SwDetails = qobject_cast<HbLabel *> (m_loader.findWidget("lblSwVersion"));
|
51
|
154 |
QString content;
|
|
155 |
|
|
156 |
TReal sizeKB = size / 1024;
|
|
157 |
TReal sizeRounded = 0;
|
|
158 |
QString pkgsize;
|
|
159 |
|
|
160 |
if (sizeKB > 1024)
|
|
161 |
{
|
|
162 |
TReal sizeMB = sizeKB / 1024;
|
|
163 |
Math::Round(sizeRounded,sizeMB,2);
|
|
164 |
content = hbTrId("txt_device_update_info_new_device_software_availab_Mb") .arg(aName) .arg(version).arg(sizeRounded);
|
|
165 |
}
|
|
166 |
else
|
|
167 |
{
|
|
168 |
Math::Round(sizeRounded,sizeKB,2);
|
|
169 |
content = hbTrId("txt_device_update_info_new_device_software_availab_Kb") .arg(aName) .arg(version).arg(sizeRounded);
|
|
170 |
}
|
|
171 |
|
73
|
172 |
m_SwDetails->setPlainText(content);
|
|
173 |
FLOG(_L("HbFotaFullscreenDialog::RefreshDialog <<"));
|
51
|
174 |
}
|
|
175 |
|
|
176 |
// ---------------------------------------------------------------------------
|
73
|
177 |
// HbFotaFullscreenDialog::close
|
51
|
178 |
// This slot is called to manually close the dialog.
|
|
179 |
// ---------------------------------------------------------------------------
|
|
180 |
//
|
|
181 |
|
73
|
182 |
void HbFotaFullscreenDialog::close()
|
51
|
183 |
{
|
73
|
184 |
FLOG(_L("HbFotaFullscreenDialog::Close <<"));
|
|
185 |
m_Clicked = ETrue;
|
|
186 |
if (m_dialog)
|
|
187 |
m_dialog->close();
|
|
188 |
FLOG(_L("HbFotaFullscreenDialog::Close >>"));
|
51
|
189 |
}
|
|
190 |
|
|
191 |
// ---------------------------------------------------------------------------
|
73
|
192 |
// HbFotaFullscreenDialog::setWarningDetails
|
51
|
193 |
// This function is to set the warnings details of the full screen dialog
|
|
194 |
// according to the state of the firmware update.
|
|
195 |
// ---------------------------------------------------------------------------
|
|
196 |
//
|
|
197 |
|
73
|
198 |
void HbFotaFullscreenDialog::setWarningDetails(TFotaWarningType aType)
|
51
|
199 |
{
|
73
|
200 |
FLOG(_L("HbFotaFullscreenDialog::SetWarningDetails <<"));
|
51
|
201 |
//set heading content
|
|
202 |
if (aType == EHbFotaDownload)
|
|
203 |
{
|
73
|
204 |
FLOG(_L("HbFotaFullscreenDialog::EHbFotaDownload"));
|
|
205 |
m_dialog->setTimeout(HbPopup::NoTimeout);
|
|
206 |
m_InstallNote->setVisible(false);
|
|
207 |
m_RestartNote->setVisible(false);
|
|
208 |
m_RestartIcon->setVisible(false);
|
|
209 |
m_EmergencyNote->setVisible(false);
|
|
210 |
m_EmergencyIcon->setVisible(false);
|
51
|
211 |
}
|
|
212 |
else if (aType == EHbFotaUpdate)
|
|
213 |
{
|
73
|
214 |
FLOG(_L("HbFotaFullscreenDialog::EHbFotaUpdate"));
|
|
215 |
m_dialog->setTimeout(HbPopup::ContextMenuTimeout);
|
51
|
216 |
HbIcon iconCharger;
|
73
|
217 |
iconCharger.setIconName(":/icons/qtg_small_charger.svg");
|
|
218 |
m_ChargerIcon->setIcon(iconCharger);
|
51
|
219 |
HbIcon iconRestart;
|
73
|
220 |
iconRestart.setIconName(":/icons/qtg_small_reboot.svg");
|
|
221 |
m_RestartIcon->setIcon(iconRestart);
|
|
222 |
m_InstallNote->setPlainText(hbTrId(
|
51
|
223 |
"txt_device_update_info_installation_will_proceed_n"));
|
73
|
224 |
m_ChargerNote->setPlainText(hbTrId(
|
51
|
225 |
"txt_device_update_info_FS_its_recommended_to_connec"));
|
73
|
226 |
m_RestartNote->setPlainText(hbTrId(
|
51
|
227 |
"txt_device_update_info_FS_after_the_installation_the"));
|
73
|
228 |
m_InstallNote->setVisible(true);
|
|
229 |
m_RestartNote->setVisible(true);
|
|
230 |
m_RestartIcon->setVisible(true);
|
|
231 |
m_EmergencyNote->setVisible(true);
|
|
232 |
m_EmergencyIcon->setVisible(true);
|
|
233 |
m_DownloadState->setPlainText(hbTrId(
|
51
|
234 |
"txt_device_update_info_download_complete"));
|
73
|
235 |
m_DownloadState->setVisible(true);
|
|
236 |
m_PrimaryAction->setEnabled(ETrue);
|
51
|
237 |
}
|
|
238 |
else if (aType == EHbFotaLowBattery)
|
|
239 |
{
|
73
|
240 |
FLOG(_L("HbFotaFullscreenDialog::EHbFotaLowBattery"));
|
|
241 |
m_dialog->setTimeout(HbPopup::NoTimeout);
|
51
|
242 |
HbIcon iconCharger;
|
73
|
243 |
iconCharger.setIconName(":/icons/qtg_small_reboot.svg");
|
|
244 |
m_ChargerIcon->setIcon(iconCharger);
|
51
|
245 |
HbIcon iconRestart;
|
73
|
246 |
iconRestart.setIconName(":/icons/qtg_small_phone_disabled.svg");
|
|
247 |
m_RestartIcon->setIcon(iconRestart);
|
|
248 |
m_InstallNote->setPlainText(hbTrId(
|
51
|
249 |
"txt_device_update_info_to_proceed_with_installatio"));
|
73
|
250 |
m_ChargerNote->setPlainText(hbTrId(
|
51
|
251 |
"txt_device_update_info_FS_after_the_installation_the"));
|
73
|
252 |
m_RestartNote->setPlainText(hbTrId(
|
51
|
253 |
"txt_device_update_info_FS_during_the_installation_the"));
|
73
|
254 |
m_InstallNote->setVisible(true);
|
|
255 |
m_RestartNote->setVisible(true);
|
|
256 |
m_RestartIcon->setVisible(true);
|
|
257 |
m_EmergencyNote->setVisible(false);
|
|
258 |
m_EmergencyIcon->setVisible(false);
|
|
259 |
m_DownloadState->setPlainText(hbTrId(
|
51
|
260 |
"txt_device_update_info_download_complete"));
|
73
|
261 |
m_DownloadState->setVisible(true);
|
|
262 |
m_PrimaryAction->setText(hbTrId("txt_device_update_button_continue"));
|
|
263 |
m_SecondaryAction->setText(hbTrId(
|
51
|
264 |
"txt_device_update_button_install_later"));
|
73
|
265 |
m_PrimaryAction->setEnabled(EFalse);
|
51
|
266 |
}
|
73
|
267 |
refreshDialog();
|
|
268 |
FLOG(_L("HbFotaFullscreenDialog::SetWarningDetails >>"));
|
51
|
269 |
}
|
|
270 |
|
|
271 |
// ---------------------------------------------------------------------------
|
73
|
272 |
// HbFotaFullscreenDialog::updateprogressbar
|
51
|
273 |
// This function is called to update the progress bar with the download progress details/.
|
|
274 |
// ---------------------------------------------------------------------------
|
|
275 |
//
|
|
276 |
|
73
|
277 |
void HbFotaFullscreenDialog::updateProgressBar(TInt aProgress)
|
51
|
278 |
{
|
73
|
279 |
FLOG(_L("HbFotaFullscreenDialog::UpdateProgressBar <<"));
|
|
280 |
m_progressBar->setProgressValue(aProgress);
|
|
281 |
FLOG(_L("HbFotaFullscreenDialog::UpdateProgressBar >>"));
|
51
|
282 |
}
|
|
283 |
|
|
284 |
// ---------------------------------------------------------------------------
|
73
|
285 |
// HbFotaFullscreenDialog::disableRSK
|
51
|
286 |
// This function is called disable the RSK of the dialog when the postpone limeit expires
|
|
287 |
// ---------------------------------------------------------------------------
|
|
288 |
//
|
|
289 |
|
73
|
290 |
void HbFotaFullscreenDialog::disableRSK(TBool aVal)
|
51
|
291 |
{
|
73
|
292 |
FLOG(_L("HbFotaFullscreenDialog::DisableRSK <<"));
|
|
293 |
m_SecondaryAction->setEnabled(!aVal);
|
|
294 |
FLOG(_L("HbFotaFullscreenDialog::DisableRSK >>"));
|
51
|
295 |
}
|
|
296 |
|
|
297 |
// ---------------------------------------------------------------------------
|
73
|
298 |
// HbFotaFullscreenDialog::isLSKEnabled
|
|
299 |
// This function is called to check if left softkey of the fullscreen dialog is disabled or not.
|
|
300 |
// ---------------------------------------------------------------------------
|
|
301 |
//
|
|
302 |
|
|
303 |
bool HbFotaFullscreenDialog::isLSKEnabled()
|
|
304 |
{
|
|
305 |
FLOG(_L("HbFotaFullscreenDialog::IsLSKEnabled <<"));
|
|
306 |
return (m_PrimaryAction->isEnabled());
|
|
307 |
}
|
|
308 |
|
|
309 |
// ---------------------------------------------------------------------------
|
|
310 |
// HbFotaFullscreenDialog::cancelSelected
|
51
|
311 |
// This slot is called when user presses the left softkey of fullscreen dialog.
|
|
312 |
// ---------------------------------------------------------------------------
|
|
313 |
//
|
|
314 |
|
73
|
315 |
void HbFotaFullscreenDialog::lSKSelected()
|
51
|
316 |
{
|
|
317 |
FLOG(_L("FotaFullscreenDialog::LSKSelected <<"));
|
73
|
318 |
m_Clicked = ETrue;
|
|
319 |
m_dialog->hide();
|
|
320 |
m_Server->HandleFullScreenDialogResponse(EHbLSK);
|
|
321 |
FLOG(_L("HbFotaFullscreenDialog::LSKSelected >>"));
|
51
|
322 |
}
|
|
323 |
|
|
324 |
|
|
325 |
// ---------------------------------------------------------------------------
|
73
|
326 |
// HbFotaFullscreenDialog::cancelSelected
|
51
|
327 |
// This slot is called when user presses the right softkey of fullscreen dialog.
|
|
328 |
// ---------------------------------------------------------------------------
|
|
329 |
//
|
|
330 |
|
73
|
331 |
void HbFotaFullscreenDialog::rSKSelected()
|
51
|
332 |
{
|
73
|
333 |
FLOG(_L("HbFotaFullscreenDialog::RSKSelected >>"));
|
|
334 |
m_Clicked = ETrue;
|
|
335 |
m_dialog->hide();
|
|
336 |
m_Server->HandleFullScreenDialogResponse(EHbRSK);
|
|
337 |
FLOG(_L("HbFotaFullscreenDialog::RSKSelected <<"));
|
51
|
338 |
}
|
|
339 |
|
|
340 |
// ---------------------------------------------------------------------------
|
73
|
341 |
// HbFotaFullscreenDialog::~HbFotaFullscreenDialog
|
51
|
342 |
// Destructor which destroys all the widgets
|
|
343 |
// ---------------------------------------------------------------------------
|
|
344 |
//
|
|
345 |
|
73
|
346 |
HbFotaFullscreenDialog::~HbFotaFullscreenDialog()
|
51
|
347 |
{
|
73
|
348 |
FLOG(_L("~ HbFotaFullscreenDialog <<"));
|
51
|
349 |
|
73
|
350 |
QObject::disconnect(m_PrimaryAction, SIGNAL(clicked()), this,
|
51
|
351 |
SLOT(LSKSelected()));
|
73
|
352 |
QObject::disconnect(m_SecondaryAction, SIGNAL(clicked()), this,
|
51
|
353 |
SLOT(RSKSelected()));
|
73
|
354 |
QObject::disconnect(m_dialog, SIGNAL(aboutToClose()), this,
|
51
|
355 |
SLOT(aboutToClose()));
|
|
356 |
|
73
|
357 |
if (m_progressBar)
|
|
358 |
m_progressBar->deleteLater();
|
51
|
359 |
|
73
|
360 |
if (m_PrimaryAction)
|
|
361 |
delete m_PrimaryAction;
|
51
|
362 |
|
73
|
363 |
if (m_SecondaryAction)
|
|
364 |
delete m_SecondaryAction;
|
51
|
365 |
|
73
|
366 |
if (m_Title)
|
|
367 |
delete m_Title;
|
51
|
368 |
|
73
|
369 |
if (m_SwDetails)
|
|
370 |
delete m_SwDetails;
|
51
|
371 |
|
73
|
372 |
if (m_InstallNote)
|
|
373 |
delete m_InstallNote;
|
51
|
374 |
|
73
|
375 |
if (m_RestartNote)
|
|
376 |
delete m_RestartNote;
|
51
|
377 |
|
73
|
378 |
if (m_RestartIcon)
|
|
379 |
delete m_RestartIcon;
|
51
|
380 |
|
73
|
381 |
if (m_EmergencyNote)
|
|
382 |
delete m_EmergencyNote;
|
51
|
383 |
|
73
|
384 |
if (m_EmergencyIcon)
|
|
385 |
delete m_EmergencyIcon;
|
51
|
386 |
|
73
|
387 |
if (m_DownloadState)
|
|
388 |
delete m_DownloadState;
|
51
|
389 |
|
73
|
390 |
if (m_dialog)
|
|
391 |
delete m_dialog;
|
51
|
392 |
|
73
|
393 |
FLOG(_L("~ HbFotaFullscreenDialog >>"));
|
51
|
394 |
}
|
|
395 |
|
|
396 |
// ---------------------------------------------------------------------------
|
73
|
397 |
// HbFotaFullscreenDialog::showUpdateDialog
|
51
|
398 |
// This function is called when download is complete and update dialog has to be shown.
|
|
399 |
// ---------------------------------------------------------------------------
|
|
400 |
//
|
|
401 |
|
73
|
402 |
void HbFotaFullscreenDialog::showUpdateDialog()
|
51
|
403 |
{
|
73
|
404 |
FLOG(_L("HbFotaFullscreenDialog::ShowUpdateDialog <<"));
|
|
405 |
m_PrimaryAction->setText(hbTrId("txt_common_button_continue_dialog"));
|
|
406 |
m_SecondaryAction->setText(
|
51
|
407 |
hbTrId("txt_device_update_button_install_later"));
|
73
|
408 |
setWarningDetails(EHbFotaUpdate);
|
|
409 |
FLOG(_L("HbFotaFullscreenDialog::ShowUpdateDialog >>"));
|
51
|
410 |
}
|
|
411 |
|
|
412 |
|
73
|
413 |
// ---------------------------------------------------------------------------
|
|
414 |
// HbFotaFullscreenDialog::setVisible
|
|
415 |
// This function is called to make the fullscreen dialog visible.
|
|
416 |
// ---------------------------------------------------------------------------
|
|
417 |
//
|
|
418 |
|
|
419 |
void HbFotaFullscreenDialog::setVisible(TBool aVisible)
|
51
|
420 |
{
|
|
421 |
FLOG(_L("RefreshDialog::SetVisible >>"));
|
73
|
422 |
refreshDialog();
|
51
|
423 |
FLOG(_L("RefreshDialog::SetVisible <<"));
|
|
424 |
}
|
|
425 |
// ---------------------------------------------------------------------------
|
73
|
426 |
// HbFotaFullscreenDialog::aboutToClose
|
51
|
427 |
// This slot is called when full screen dialogs is cloased during a timeout.
|
|
428 |
// ---------------------------------------------------------------------------
|
|
429 |
//
|
|
430 |
|
73
|
431 |
void HbFotaFullscreenDialog::aboutToClose()
|
51
|
432 |
{
|
73
|
433 |
FLOG(_L("HbFotaFullscreenDialog::aboutToClose <<"));
|
|
434 |
if (!m_Clicked)
|
51
|
435 |
{
|
|
436 |
FLOG(_L("Calling fotaserver as timedout..."));
|
73
|
437 |
m_Server->HandleFullScreenDialogResponse(EHbLSK);
|
51
|
438 |
}
|
73
|
439 |
m_Clicked = EFalse;
|
|
440 |
FLOG(_L("HbFotaFullscreenDialog::aboutToClose >>"));
|
51
|
441 |
}
|
|
442 |
|
|
443 |
|