equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 // SYSTEM INCLUDES |
19 // SYSTEM INCLUDES |
20 #include <StringLoader.h> |
20 #include <stringloader.h> |
21 #include <AknGlobalNote.h> //used for Selftest failed note |
21 #include <aknglobalnote.h> //used for Selftest failed note |
22 #include <aknPopup.h> |
22 #include <aknpopup.h> |
23 #include <aknlists.h> |
23 #include <aknlists.h> |
24 #include <aknSDData.h> |
24 #include <aknsddata.h> |
25 #include <badesca.h> |
25 #include <badesca.h> |
26 #include <tzlocalizationdatatypes.h> |
26 #include <tzlocalizationdatatypes.h> |
27 #include <tzlocalizer.h> |
27 #include <tzlocalizer.h> |
28 #include <tz.h> |
28 #include <tz.h> |
29 #include <featmgr.h> // Feature Manager |
29 #include <featmgr.h> // Feature Manager |
31 #include <startup.rsg> |
31 #include <startup.rsg> |
32 #include <starterdomaincrkeys.h> |
32 #include <starterdomaincrkeys.h> |
33 #include "startupappprivatepskeys.h" |
33 #include "startupappprivatepskeys.h" |
34 #include <startupdomainpskeys.h> |
34 #include <startupdomainpskeys.h> |
35 #include <startupdomaincrkeys.h> |
35 #include <startupdomaincrkeys.h> |
36 #include <CoreApplicationUIsSDKCRKeys.h> |
36 #include <coreapplicationuissdkcrkeys.h> |
37 #include <starterclient.h> |
37 #include <starterclient.h> |
38 |
38 |
39 #ifdef RD_UI_TRANSITION_EFFECTS_PHASE2 |
39 #ifdef RD_UI_TRANSITION_EFFECTS_PHASE2 |
40 // Transition effects |
40 // Transition effects |
41 #include <gfxtranseffect/gfxtranseffect.h> |
41 #include <gfxtranseffect/gfxtranseffect.h> |
862 { |
862 { |
863 TRACES("CStartupAppUi::DoStartupFirstBootAndRTCCheckL(): First boot ongoing and queries are disabled."); |
863 TRACES("CStartupAppUi::DoStartupFirstBootAndRTCCheckL(): First boot ongoing and queries are disabled."); |
864 MarkFirstBoot(); |
864 MarkFirstBoot(); |
865 } |
865 } |
866 } |
866 } |
867 |
867 else |
|
868 { |
|
869 // Temporary fix for the defect VEZI-7YDEAR , as clock is not yet supported. |
|
870 TRACES("CStartupAppUi::DoStartupFirstBootAndRTCCheckL(): if PredictiveTimeEnabled is set"); |
|
871 if( iFirstBoot && !HiddenReset() ) |
|
872 { |
|
873 TRACES("CStartupAppUi::DoStartupFirstBootAndRTCCheckL(): Mark first boot"); |
|
874 MarkFirstBoot(); |
|
875 } |
|
876 // End of temporary fix. |
|
877 } |
868 TRACES("CStartupAppUi::DoStartupFirstBootAndRTCCheckL(): Setting KPSStartupAppState = EStartupAppStateFinished"); |
878 TRACES("CStartupAppUi::DoStartupFirstBootAndRTCCheckL(): Setting KPSStartupAppState = EStartupAppStateFinished"); |
869 TInt err = RProperty::Set( KPSUidStartupApp, KPSStartupAppState, EStartupAppStateFinished ); |
879 TInt err = RProperty::Set( KPSUidStartupApp, KPSStartupAppState, EStartupAppStateFinished ); |
870 if( KErrNone != err ) |
880 if( KErrNone != err ) |
871 { |
881 { |
872 TRACES1("CStartupAppUi::DoStartupFirstBootAndRTCCheckL(): KPSStartupAppState set err %d" |
882 TRACES1("CStartupAppUi::DoStartupFirstBootAndRTCCheckL(): KPSStartupAppState set err %d" |