[Tizen-submit] 19558: Changes to Tizen:Mobile/osp-appfw

noreply at tizen.org noreply at tizen.org
Sun Jan 12 15:05:01 GMT 2014


Hi,
SunwookBae have made the following changes to osp-appfw in project Tizen:Mobile. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #19558

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


Message:
Submitter: SunwookBae <swbae98 at gmail.com>
Comments: Update to handle the FG/BG on AppControl response callback
Git project: platform/framework/native/appfw
Tag: submit/tizen/20140112.150622
Commit: a69953a521f00879eba9f3e5f6a83b780024a83e Merge "Update to handle the FG/BG on AppControl response callback" into tizen

State:   new        2014-01-12T15:02:22 tizenrobot
Comment: <no comment>
changes files:
--------------

spec files:
-----------
--- osp-appfw.spec
+++ osp-appfw.spec
@@ -1,5 +1,5 @@
 Name:           osp-appfw
-VCS:            platform/framework/native/appfw#235c39e0111deade956c668f192ef66d013ae640
+VCS:            platform/framework/native/appfw#a69953a521f00879eba9f3e5f6a83b780024a83e
 Summary:        The App Framework library of OSP
 Version:        1.2.2.1
 Release:        1

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

++++++ osp-appfw-1.2.2.1.tar.gz
--- src/app/FApp_AppArg.cpp
+++ src/app/FApp_AppArg.cpp
@@ -77,8 +77,7 @@
 static const char BUNDLE_KEY_PREFIX_OSP[] = "__OSP_";
 static const char BUNDLE_KEY_PREFIX_UG[] = "__UG_";
 
-static const char OSP_K_SUBMODE_CALLEE[] = "__OSP_SUB_CALLEE__";
-static const char OSP_K_SERVICE_CALLEE[] = "__OSP_SERVICE_CALLEE__";
+static const char OSP_K_RAISE_MODE[] = "__OSP_RAISE_MODE__";
 
 
 _AppArg::_AppArg(void)
@@ -1045,35 +1044,19 @@
 
 
 void
-_AppArg::UpdateSubMode(bundle* pBundle)
+_AppArg::UpdateRaiseMode(bundle* pBundle)
 {
-	appsvc_add_data(pBundle, OSP_K_SUBMODE_CALLEE, "1");
+	appsvc_add_data(pBundle, OSP_K_RAISE_MODE, "1");
 }
 
 
 bool
-_AppArg::IsSubMode(bundle* pBundle)
+_AppArg::IsRaiseMode(bundle* pBundle)
 {
-	const char* p = appsvc_get_data(pBundle, OSP_K_SUBMODE_CALLEE);
+	const char* p = appsvc_get_data(pBundle, OSP_K_RAISE_MODE);
 	return (p && (strncmp(p, "1", sizeof(char)) == 0));
 }
 
-
-void
-_AppArg::UpdateServiceApp(bundle* pBundle)
-{
-	appsvc_add_data(pBundle, OSP_K_SERVICE_CALLEE, "1");
-}
-
-
-bool
-_AppArg::IsServiceApp(bundle* pBundle)
-{
-	const char* p = appsvc_get_data(pBundle, OSP_K_SERVICE_CALLEE);
-	return (p && (strncmp(p, "1", sizeof(char)) == 0));
-}
-
-
 int
 _AppArg::GetRequestIdFromBundle(bundle* pBundle)
 {
--- src/app/FApp_AppControlEventArg.h
+++ src/app/FApp_AppControlEventArg.h
@@ -200,7 +200,7 @@
 	, public Tizen::Base::Runtime::IEventArg
 {
 public:
-	_AppControlResponseEventArg(IAppControlResponseListener* pResponseListener, _AppControlResponseType type, const AppId& appId, const Tizen::Base::String& operationId, result res, AppCtrlResult appControlResult, const Tizen::Base::Collection::IMap* pExtraData, int reqId, bool isSubMode)
+	_AppControlResponseEventArg(IAppControlResponseListener* pResponseListener, _AppControlResponseType type, const AppId& appId, const Tizen::Base::String& operationId, result res, AppCtrlResult appControlResult, const Tizen::Base::Collection::IMap* pExtraData, int reqId, bool isRaiseMode)
 		: __pResponseListener(pResponseListener)
 		, __type(type)
 		, __appId(appId.GetPointer())
@@ -209,7 +209,7 @@
 		, __appControlResult(appControlResult)
 		, __pExtraData(pExtraData)
 		, __reqId(reqId)

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


More information about the Tizen-submit mailing list