-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PackageManager] add IsUpdated property to Package Class #6669
base: main
Are you sure you want to change the base?
Conversation
ba2a9b1
to
5c753bf
Compare
/// <summary> | ||
/// Checks whether the package is updated. | ||
/// </summary> | ||
/// <since_tizen> 3 </since_tizen> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[EditorBrowsable(EditorBrowsableState.Never)]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change this to 12.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -364,6 +372,11 @@ internal static Package CreatePackage(IntPtr handle, string pkgId) | |||
{ | |||
Log.Warn(LogTag, "Failed to get whether package " + pkgId + " is preloaded or not"); | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The return value should be set to the err as below:
err = Interop.Package.PackageInfoIsUpdatePackage(handle, out package._isUpdated);
Build Error:
|
@kdk3776 , please check this build error. |
Build Error:
|
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Internal API ChangedAdded: 1, Removed: 0, Changed: 0Added+ /// <since_tizen>12</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.Applications.Package::IsUpdated()
|
Description of Change