[Tizen-submit] 16600: Changes to Tizen:Mobile/osp-appwidget-service

noreply at tizen.org noreply at tizen.org
Thu Oct 31 06:38:28 GMT 2013


Hi,
jungmin76.park have made the following changes to osp-appwidget-service in project Tizen:Mobile. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #16600

  submit:       Tizen:Mobile:build/osp-appwidget-service(cleanup) -> Tizen:Mobile


Message:
Submitter: jungmin76.park <jungmin76.park at samsung.com>
Comments: sync with tizen_2.2
Git project: platform/framework/native/appwidget-service
Tag: submit/tizen/20131031.063745
Commit: ea924c54f7b99dbe1ff92483bf1aa23cf7bac41b fix not to terminate app when last dynamic box provider is removed. (instead the app will be terminated only when the lifeduration is expired.)

State:   new        2013-10-31T06:37:58 tizenrobot
Comment: <no comment>
spec files:
-----------
--- osp-appwidget-service.spec
+++ osp-appwidget-service.spec
@@ -1,8 +1,8 @@
 Name:		osp-appwidget-service
+VCS:   platform/framework/native/appwidget-service#ea924c54f7b99dbe1ff92483bf1aa23cf7bac41b
 Summary:	osp appwidget service
 Version:	1.2.2.1
 Release:	2
-VCS:     platform/framework/native/appwidget-service#submit/tizen/20131018.115213-0-g4616fe76a454a5d5f59a901bddbe7b4d81023945
 Group:		System/Libraries
 License:	Flora
 Source0:	%{name}-%{version}.tar.gz

other changes:
--------------

++++++ osp-appwidget-service-1.2.2.1.tar.gz
--- inc/FShell_AppContext.h
+++ inc/FShell_AppContext.h
@@ -26,10 +26,11 @@
 
 #include <FAppTypes.h>
 #include <FBaseColArrayListT.h>
+#include <FBaseColHashMap.h>
+#include <FBaseColHashMapT.h>
 
 namespace Tizen { namespace Base  { namespace Collection
 {
-class HashMap;
 class IList;
 }}}
 
@@ -78,6 +79,8 @@
 
 	void OnIpcConnected(int clientId);
 	void OnIpcDisconnected(void);
+	void OnApplicationTerminated(void);
+
 	_ConnectionState GetConnectionState(void) const;
 	bool GetWaitingStatus(void) const;
 	Tizen::App::AppId GetAppId(void) const;
@@ -96,6 +99,7 @@
 
 private:
 	void SetConnectionState(_ConnectionState state);
+	static const wchar_t* GetConnectionStateString(_ConnectionState state);
 	void SetWaitingStatus(bool status);
 	_AppWidgetContext* FindInvalidAppWidget(void) const;
 
@@ -103,17 +107,26 @@
 	struct PendingEvent
 	{
 		PendingEvent(const Tizen::Base::String& operation, Tizen::Base::Collection::HashMap* pHashMap)
-		 : operation(operation), pArg(pHashMap) {  }
+		 : operation(operation), pArgs(pHashMap) {  }
+
+		~PendingEvent(void)
+		{
+			if (pArgs)
+			{
+				pArgs->RemoveAll(true);
+				delete pArgs;
+			}
+		}
 
 		Tizen::Base::String operation;
-		Tizen::Base::Collection::HashMap* pArg;
+		Tizen::Base::Collection::HashMap* pArgs;
 	};
 
 	const Tizen::App::AppId __appId;
 	bool __isWaitingResult;
 	int __ipcClientId;
 	_ConnectionState __connectionState;
-	Tizen::Base::Collection::HashMapT<Tizen::Base::String, _AppWidgetContext*> __appWidgetContextList;
+	Tizen::Base::Collection::HashMapT<Tizen::Base::String, _AppWidgetContext*> __appWidgetContexts;
 	Tizen::Base::Collection::ArrayListT<PendingEvent*>* __pPendingEventList;
 };
 
--- inc/FShell_AppWidgetManagerService.h
+++ inc/FShell_AppWidgetManagerService.h
@@ -28,6 +28,7 @@
 #include <FBaseRtThread.h>
 #include <FBaseColHashMapT.h>

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list