[Tizen-submit] 19556: Changes to Tizen:Mobile/osp-app-service

noreply at tizen.org noreply at tizen.org
Sun Jan 12 14:59:52 GMT 2014


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

Thank You,

[This message was auto-generated]

---

Request: #19556

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


Message:
Submitter: SunwookBae <swbae98 at gmail.com>
Comments: Fix an issue of Alarm registration
Git project: platform/framework/native/app-service
Tag: submit/tizen/20140112.150110
Commit: e64128b0760e9d3f1bf442dd205ac01433bbe1cf Addition check added for Conditional launch Argument

State:   new        2014-01-12T14:57:14 tizenrobot
Comment: <no comment>
spec files:
-----------
--- osp-app-service.spec
+++ osp-app-service.spec
@@ -1,5 +1,5 @@
 Name:		osp-app-service
-VCS:   platform/framework/native/app-service#671f082a04dddd68f14dabb1b15486b660729fc1
+VCS:   platform/framework/native/app-service#e64128b0760e9d3f1bf442dd205ac01433bbe1cf
 Summary:	Osp application service
 Version:	1.2.2.1
 Release:	5

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

++++++ osp-app-service-1.2.2.1.tar.gz
--- plugins/alarm-condition-handler/AlarmConditionHandler.cpp
+++ plugins/alarm-condition-handler/AlarmConditionHandler.cpp
@@ -148,7 +148,7 @@
 	else if(buf.StartsWith(L"DateTime", 0) == true)
 	{
 		ret = sscanf(convertedString.get(), "DateTime='%d/%d/%d %d:%d:%d'%s", &(pConvertedTime->tm_mon), &(pConvertedTime->tm_mday), &(pConvertedTime->tm_year), &(pConvertedTime->tm_hour), &(pConvertedTime->tm_min), &(pConvertedTime->tm_sec), garbage);
-		SysTryReturnResult(NID_SYS, ret == 6, E_INVALID_FORMAT, "The specified condition format is not compatible.");	
+		SysTryReturnResult(NID_SYS, ret == 6, E_INVALID_FORMAT, "The specified condition format is not compatible.");
 	}
 	else
 	{
@@ -178,7 +178,7 @@
 	SysTryReturnResult(NID_SYS, ret == E_SUCCESS, E_INVALID_CONDITION, "It is not valid date time.");
 	alarmDayOfWeek = alarmDayOfWeek/3;
 	week = weekFlag[alarmDayOfWeek];
-	
+
 	unique_ptr<char[]> convertedString(_StringConverter::CopyToCharArrayN(buf));
 	SysTryReturnResult(NID_SYS, convertedString.get() != null, E_OUT_OF_MEMORY, "Memory allocation failure.");
 
@@ -194,10 +194,10 @@
 	int todayDayOfWeek;
 	std::unique_ptr<Tizen::Locales::Calendar> pCalendar(Tizen::Locales::Calendar::CreateInstanceN(Tizen::Locales::CALENDAR_GREGORIAN));
 	SysTryReturnResult(NID_SYS, pCalendar != NULL, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] The memory is insufficient.");
-	
+
 	pCalendar->SetTime(currentTime);
 	todayDayOfWeek = pCalendar->GetTimeField(TIME_FIELD_DAY_OF_WEEK);
-	
+
 	if(alarmDayOfWeek == todayDayOfWeek)
 	{
 		if(alarmTime < currentTime)
@@ -212,7 +212,7 @@
 		alarmTime.AddDays(days);
 	}
 	SysLog(NID_SYS, "Alarm time is %ls", alarmTime.ToString().GetPointer());
-	
+
 	pConvertedTime->tm_year = alarmTime.GetYear();
 	pConvertedTime->tm_mon = alarmTime.GetMonth();
 	pConvertedTime->tm_mday = alarmTime.GetDay();
@@ -249,7 +249,7 @@
 
 		int count = 0;
 		count = strTok.GetTokenCount();
-		
+
 		for (int index = 0; index < count; index++)
 		{
 			String tokenValue;
@@ -259,10 +259,10 @@
 			tokenValue.Trim();
 			r = Convert(tokenValue, &expireTime, week);
 			SysTryReturnResult(NID_SYS, r == E_SUCCESS, E_INVALID_FORMAT, "It is not valid date time format.");
-			
+
 			r =  validateCheck.SetValue(expireTime.tm_year, expireTime.tm_mon, expireTime.tm_mday, expireTime.tm_hour, expireTime.tm_min, expireTime.tm_sec);
 			SysTryReturnResult(NID_SYS, r == E_SUCCESS, E_INVALID_CONDITION, "It is not valid date time.");
-			
+
 			DateTime currentTime;
 			SystemTime::GetCurrentTime(TIME_MODE_WALL, currentTime);
 
@@ -273,7 +273,7 @@
 			expireTime.tm_min = validateCheck.GetMinute();
 			expireTime.tm_sec = validateCheck.GetSecond();
 
-			SysTryReturnResult(NID_SYS, validateCheck > currentTime, E_INVALID_CONDITION, "Required time does not greater than current time. (%ls/%ls)", validateCheck.ToString().GetPointer(), currentTime.ToString().GetPointer()); 
+			SysTryReturnResult(NID_SYS, validateCheck > currentTime, E_INVALID_CONDITION, "Required time does not greater than current time. (%ls/%ls)", validateCheck.ToString().GetPointer(), currentTime.ToString().GetPointer());

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


More information about the Tizen-submit mailing list