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