--- a/widgets/widgetapp/src/WidgetUiWindow.cpp Mon Mar 15 12:44:50 2010 +0200
+++ b/widgets/widgetapp/src/WidgetUiWindow.cpp Wed Mar 31 23:16:40 2010 +0300
@@ -720,6 +720,7 @@
CWidgetPropertyValue* propValue = widgetRegistry.GetWidgetPropertyValueL(iUid, EAllowNetworkAccess );
TInt networkAccess = *propValue;
delete propValue;
+
propValue = widgetRegistry.GetWidgetPropertyValueL(iUid, EAllowFullAccess );
TInt fullAccess = *propValue;
delete propValue;
@@ -844,6 +845,11 @@
//Always ask case
TUint32 ap( 0 );
iWindowManager.GetConnection()->SetRequestedAP( ap );
+#ifdef BRDO_OCC_ENABLED_FF
+ TUint32 snapId = 0; //Defaults connects to Internet snap
+ iWindowManager.GetConnection()->SetConnectionType(CMManager::EDestination);
+ iWindowManager.GetConnection()->SetRequestedSnap(snapId);
+#endif
}
}
}
@@ -1172,7 +1178,8 @@
RWidgetRegistryClientSession& widgetRegistry = iWindowManager.WidgetUIClientSession();
TInt inMiniView = !(WidgetMiniViewState()==EMiniViewEnabled || WidgetMiniViewState()==EMiniViewNotEnabled);//widgetRegistry.IsWidgetInMiniView( iUid);
CWidgetPropertyValue* propValue = widgetRegistry.GetWidgetPropertyValueL( iUid, EAllowNetworkAccess );
- TInt netAccessWdgtProp = *propValue; // AllowNetworkAccess in the info.plist file
+ TInt netAccessWdgtProp = propValue && *propValue; // AllowNetworkAccess in the info.plist file
+ delete propValue;
if ( netAccessWdgtProp && ((inMiniView && (iWindowManager.GetNetworkMode() == (TInt)EOnlineMode))
|| (!inMiniView && iUserPermission)) )