-
Notifications
You must be signed in to change notification settings - Fork 254
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
[TCSACR-596][NUI] Add missing privilege comments #6289
Conversation
Public API ChangedPlease follow the ACR process for the changed API below. Added: 0, Removed: 0, Changed: 11Changed+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>3</since_tizen
System.Void Tizen.NUI.NUIApplication::.ctor()
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>9</since_tizen
System.Void Tizen.NUI.NUIApplication::.ctor(System.String,Tizen.NUI.NUIApplication/WindowMode,Tizen.NUI.WindowType)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>3</since_tizen
System.Void Tizen.NUI.NUIApplication::.ctor(System.String,Tizen.NUI.NUIApplication/WindowMode)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>3</since_tizen
System.Void Tizen.NUI.NUIApplication::.ctor(System.String)
+ /// <privilege>http://tizen.org/privilege/keygrab</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::GrabKey(System.Int32,Tizen.NUI.Window/KeyGrabMode)
+ /// <privilege>http://tizen.org/privilege/keygrab</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::GrabKeyTopmost(System.Int32)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::SetBrightness(System.Int32)
+ /// <privilege>http://tizen.org/privilege/window.priority.set</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::SetNotificationLevel(Tizen.NUI.NotificationLevel)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>4</since_tizen
System.Boolean Tizen.NUI.Window::SetScreenOffMode(Tizen.NUI.ScreenOffMode)
+ /// <privilege>http://tizen.org/privilege/keygrab</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::UngrabKey(System.Int32)
+ /// <privilege>http://tizen.org/privilege/keygrab</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::UngrabKeyTopmost(System.Int32)
Internal API ChangedAdded: 0, Removed: 0, Changed: 12Changed+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>none</since_tizen
[EditorBrowsable(EditorBrowsableState.Never)]
System.Void Tizen.NUI.NUIApplication::.ctor(System.String,Tizen.NUI.NUIApplication/WindowMode,Tizen.Applications.CoreTask)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>none</since_tizen
[EditorBrowsable(EditorBrowsableState.Never)]
System.Void Tizen.NUI.NUIApplication::.ctor(System.String,Tizen.NUI.NUIApplication/WindowMode,Tizen.NUI.Size2D,Tizen.NUI.Position2D,Tizen.Applications.CoreTask)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>5</since_tizen
[EditorBrowsable(EditorBrowsableState.Never)]
System.Void Tizen.NUI.NUIApplication::.ctor(System.String,Tizen.NUI.NUIApplication/WindowMode,Tizen.NUI.Size2D,Tizen.NUI.Position2D)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>none</since_tizen
[EditorBrowsable(EditorBrowsableState.Never)]
System.Void Tizen.NUI.NUIApplication::.ctor(System.String,Tizen.NUI.Size2D,Tizen.NUI.Position2D,Tizen.NUI.IBorderInterface,Tizen.NUI.NUIApplication/WindowMode)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>5</since_tizen
[EditorBrowsable(EditorBrowsableState.Never)]
System.Void Tizen.NUI.NUIApplication::.ctor(System.String,Tizen.NUI.Size2D,Tizen.NUI.Position2D)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>none</since_tizen
[Obsolete]
[EditorBrowsable(EditorBrowsableState.Never)]
System.Void Tizen.NUI.NUIApplication::.ctor(Tizen.NUI.Graphics/BackendType,Tizen.NUI.NUIApplication/WindowMode,Tizen.NUI.Size2D,Tizen.NUI.Position2D,System.String)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>none</since_tizen
[EditorBrowsable(EditorBrowsableState.Never)]
System.Void Tizen.NUI.NUIApplication::.ctor(Tizen.NUI.NUIApplication/ThemeOptions,Tizen.NUI.IBorderInterface)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>none</since_tizen
[EditorBrowsable(EditorBrowsableState.Never)]
System.Void Tizen.NUI.NUIApplication::.ctor(Tizen.NUI.NUIApplication/ThemeOptions,Tizen.NUI.WindowData)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>none</since_tizen
[EditorBrowsable(EditorBrowsableState.Never)]
System.Void Tizen.NUI.NUIApplication::.ctor(Tizen.NUI.NUIApplication/ThemeOptions)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>none</since_tizen
[EditorBrowsable(EditorBrowsableState.Never)]
System.Void Tizen.NUI.NUIApplication::.ctor(Tizen.NUI.Size2D,Tizen.NUI.Position2D,Tizen.NUI.NUIApplication/ThemeOptions,Tizen.NUI.IBorderInterface)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>none</since_tizen
[EditorBrowsable(EditorBrowsableState.Never)]
System.Void Tizen.NUI.NUIApplication::.ctor(Tizen.NUI.Size2D,Tizen.NUI.Position2D,Tizen.NUI.NUIApplication/ThemeOptions)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>5</since_tizen
[EditorBrowsable(EditorBrowsableState.Never)]
System.Void Tizen.NUI.NUIApplication::.ctor(Tizen.NUI.Size2D,Tizen.NUI.Position2D)
|
@wiertel |
Hello, I agree with the bot. The signatures do no change but the whole API contract is changed a little. Please submit a simple ACR. |
http://tizen.org/privilege/display
왜 NUIApplication생성에 필요한 privilege가 될까요? 필요 없어보이고, 실제로 앱에서 없어도 동작에 문제가 없는데 왜 추가되는 걸까요? |
753e7b5
to
18a55e3
Compare
안녕하세요. |
Public API ChangedPlease follow the ACR process for the changed API below. Added: 0, Removed: 0, Changed: 7Changed+ /// <privilege>http://tizen.org/privilege/keygrab</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::GrabKey(System.Int32,Tizen.NUI.Window/KeyGrabMode)
+ /// <privilege>http://tizen.org/privilege/keygrab</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::GrabKeyTopmost(System.Int32)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::SetBrightness(System.Int32)
+ /// <privilege>http://tizen.org/privilege/window.priority.set</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::SetNotificationLevel(Tizen.NUI.NotificationLevel)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>4</since_tizen
System.Boolean Tizen.NUI.Window::SetScreenOffMode(Tizen.NUI.ScreenOffMode)
+ /// <privilege>http://tizen.org/privilege/keygrab</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::UngrabKey(System.Int32)
+ /// <privilege>http://tizen.org/privilege/keygrab</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::UngrabKeyTopmost(System.Int32)
|
@@ -869,6 +869,8 @@ public void SetInputRegion(Rectangle inputRegion) | |||
/// </summary> | |||
/// <param name="level">The notification window level.</param> | |||
/// <returns>True if no error occurred, false otherwise.</returns> | |||
/// <privilege>http://tizen.org/privilege/window.priority.set</privilege> | |||
/// <exception cref="UnauthorizedAccessException">This exception can be due to permission denied.</exception> |
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.
"can be due to..." -> "can be thrown due to..." will sound better, if you decide to change it then change all occurrences
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.
@wiertel
Hello, thank you for the review.
I have changed by following your comment.
please review again. thank you.
18a55e3
to
abe626a
Compare
Public API ChangedPlease follow the ACR process for the changed API below. Added: 0, Removed: 0, Changed: 7Changed+ /// <privilege>http://tizen.org/privilege/keygrab</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::GrabKey(System.Int32,Tizen.NUI.Window/KeyGrabMode)
+ /// <privilege>http://tizen.org/privilege/keygrab</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::GrabKeyTopmost(System.Int32)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::SetBrightness(System.Int32)
+ /// <privilege>http://tizen.org/privilege/window.priority.set</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::SetNotificationLevel(Tizen.NUI.NotificationLevel)
+ /// <privilege>http://tizen.org/privilege/display</privilege
/// <since_tizen>4</since_tizen
System.Boolean Tizen.NUI.Window::SetScreenOffMode(Tizen.NUI.ScreenOffMode)
+ /// <privilege>http://tizen.org/privilege/keygrab</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::UngrabKey(System.Int32)
+ /// <privilege>http://tizen.org/privilege/keygrab</privilege
/// <since_tizen>3</since_tizen
System.Boolean Tizen.NUI.Window::UngrabKeyTopmost(System.Int32)
|
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.
lgtm
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.
LGTM
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.
ACR Accepted.
Description of Change
[NUI] Add missing privilege comments
API Changes
https://jira.sec.samsung.net/browse/TCSACR-596