From b8d78c2321451883155d0f69a41a598370ee27f8 Mon Sep 17 00:00:00 2001 From: Kisub Song Date: Wed, 22 Aug 2012 18:32:42 +0900 Subject: [PATCH] [Application] Fix application info bug [Issue#] N/A [Problem] ApplicationInformation shows wrong installDate and size [Cause] Bug [Solution] Fix bug --- src/standards/Tizen/Application/JSApplicationInformation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/standards/Tizen/Application/JSApplicationInformation.cpp b/src/standards/Tizen/Application/JSApplicationInformation.cpp index a292da1..4fe55ac 100755 --- a/src/standards/Tizen/Application/JSApplicationInformation.cpp +++ b/src/standards/Tizen/Application/JSApplicationInformation.cpp @@ -175,9 +175,9 @@ JSValueRef JSApplicationInformation::getProperty(JSContextRef context, } else if (JSStringIsEqualToUTF8CString(propertyName, TIZEN_APPLICATION_INFORMATION_SHOW)) { return converter.toJSValueRef(privateData->getShow()); } else if (JSStringIsEqualToUTF8CString(propertyName, TIZEN_APPLICATION_INFORMATION_INSTALL_DATE)) { - return converter.toJSValueRef(privateData->getInstallSize()); + return converter.toJSValueRef(privateData->getInstallDate()); } else if (JSStringIsEqualToUTF8CString(propertyName, TIZEN_APPLICATION_INFORMATION_INSTALL_SIZE)) { - return converter.toJSValueRef(privateData->getInstallSize()); + return converter.toJSValueRefLong(privateData->getInstallSize()); } } Catch(WrtDeviceApis::Commons::Exception) { LogError("Exception: " << _rethrown_exception.GetMessage()); -- 2.7.4