--- a/idlehomescreen/xmluirendering/uiengine/src/xnviewmanager.cpp Tue May 11 16:02:39 2010 +0300
+++ b/idlehomescreen/xmluirendering/uiengine/src/xnviewmanager.cpp Tue May 25 12:29:32 2010 +0300
@@ -66,7 +66,8 @@
const TInt KStabilityInterval( 60000000 ); // 1 minute
const TInt KActivationCompleteInterval( 2000000 ); // 2s
const TInt KCrashRestoreDefaultThreshold( 3 );
-const TInt KCrashRestoreAllTreshold( 4 );
+const TInt KCrashRestoreRomTreshold( 4 );
+const TInt KCrashRestoreViewsTreshold( 5 );
// ============================ LOCAL FUNCTIONS ===============================
// -----------------------------------------------------------------------------
@@ -1791,10 +1792,14 @@
query->RunLD();
}
- else if( crashCount >= KCrashRestoreAllTreshold )
- {
- iHspsWrapper->RestoreRootL();
-
+ else if( crashCount == KCrashRestoreRomTreshold )
+ {
+ iHspsWrapper->RestoreRomConfL();
+ }
+ else if( crashCount >= KCrashRestoreViewsTreshold )
+ {
+ iHspsWrapper->RestoreViewsL();
+
ResetCrashCount();
return;
}