Fix for startup bug in Symbian 3 version; new SIS v 1.00.6 RCL_3
authorSebastian Brannstrom <sebastianb@symbian.org>
Sat, 23 Oct 2010 18:22:27 +0100
branchRCL_3
changeset 282 cf3842290671
parent 274 03285b1fc18d
child 283 08a3356e8364
Fix for startup bug in Symbian 3 version; new SIS v 1.00.6
application/inc/buildno.h
application/sis/buildno.txt
application/sis/podcatcher_udeb.pkg
application/sis/podcatcher_udeb.sis
application/sis/podcatcher_udeb_signed.sis
application/sis/podcatcher_urel.pkg
engine/src/PodcastModel.cpp
engine/src/SettingsEngine.cpp
--- a/application/inc/buildno.h	Sat Oct 23 16:38:32 2010 +0100
+++ b/application/inc/buildno.h	Sat Oct 23 18:22:27 2010 +0100
@@ -1,2 +1,2 @@
 // Build number generated by increment_buildno.py, do not edit manually
-#define BUILD_NO 5
\ No newline at end of file
+#define BUILD_NO 6
\ No newline at end of file
--- a/application/sis/buildno.txt	Sat Oct 23 16:38:32 2010 +0100
+++ b/application/sis/buildno.txt	Sat Oct 23 18:22:27 2010 +0100
@@ -1,1 +1,1 @@
-5
\ No newline at end of file
+6
\ No newline at end of file
--- a/application/sis/podcatcher_udeb.pkg	Sat Oct 23 16:38:32 2010 +0100
+++ b/application/sis/podcatcher_udeb.pkg	Sat Oct 23 18:22:27 2010 +0100
@@ -1,7 +1,7 @@
 &EN,SP
 :"Symbian Foundation"
 %{"Podcatcher","Podcatcher"}
-#{"Podcatcher","Podcatcher"},(0xA0009D00), 1, 00, 5, TYPE=SA
+#{"Podcatcher","Podcatcher"},(0xA0009D00), 1, 00, 6, TYPE=SA
 
 ;Supports Symbian^3
 [0x20022E6D], 0, 0, 0, {"Series60ProductID","Series60ProductID"}
Binary file application/sis/podcatcher_udeb.sis has changed
Binary file application/sis/podcatcher_udeb_signed.sis has changed
--- a/application/sis/podcatcher_urel.pkg	Sat Oct 23 16:38:32 2010 +0100
+++ b/application/sis/podcatcher_urel.pkg	Sat Oct 23 18:22:27 2010 +0100
@@ -1,7 +1,7 @@
 &EN,SP
 :"Symbian Foundation"
 %{"Podcatcher","Podcatcher"}
-#{"Podcatcher","Podcatcher"},(0xA0009D00), 0, 90, 5, TYPE=SA
+#{"Podcatcher","Podcatcher"},(0xA0009D00), 0, 90, 6, TYPE=SA
 
 ;Supports Symbian^3
 [0x20022E6D], 0, 0, 0, {"Series60ProductID","Series60ProductID"}
--- a/engine/src/PodcastModel.cpp	Sat Oct 23 16:38:32 2010 +0100
+++ b/engine/src/PodcastModel.cpp	Sat Oct 23 18:22:27 2010 +0100
@@ -105,6 +105,7 @@
 		
 		if (err != KErrNone)
 			{
+			DP1("err=%d", err);
 			Panic(EPodcatcherPanicDB);
 			}
 		
@@ -310,6 +311,7 @@
 		BaflUtils::DeleteFile(iFsSession, dbFileName);
 		}
 
+#ifdef ENABLE_MPX_INTEGRATION
 	// copy template to new DB
 	TFileName dbTemplate;
 	TFileName temp;
@@ -317,6 +319,12 @@
 	temp.Copy(iSettingsEngine->PrivatePath());
 	dbTemplate.Append(temp);
 	dbTemplate.Append(KDBTemplateFileName);
+# else
+	// copy template to new DB
+	TFileName dbTemplate;
+	dbTemplate.Copy(iSettingsEngine->PrivatePath());
+	dbTemplate.Append(KDBTemplateFileName);
+#endif
 	
 	DP1("Copy template DB from: %S", &dbTemplate);
 	DP1("Copy template DB to: %S", &dbFileName);
@@ -340,7 +348,8 @@
 	TFileName dbFileName;
 	dbFileName.Copy(iSettingsEngine->PrivatePath());
 	dbFileName.Append(KDBFileName);
-		
+	
+	DP1("dbFileName=%S", &dbFileName);
 	if (!BaflUtils::FileExists(iFsSession, dbFileName))
 		{
 		User::Leave(KErrNotFound);
--- a/engine/src/SettingsEngine.cpp	Sat Oct 23 16:38:32 2010 +0100
+++ b/engine/src/SettingsEngine.cpp	Sat Oct 23 18:22:27 2010 +0100
@@ -205,7 +205,9 @@
 	{
 	TFileName defaultFeeds;
 	TFileName temp;
+#ifdef ENABLE_MPX_INTEGRATION
 	defaultFeeds.Copy(_L("z:"));
+#endif
 	temp.Append(PrivatePath());
 	temp.Append(KDefaultFeedsFile);
 	defaultFeeds.Append(temp);