From: WonYoung Choi Date: Sat, 12 Mar 2016 12:09:50 +0000 (+0900) Subject: Fix errata X-Git-Tag: submit/trunk/20170823.075128~121^2~218 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=31fbae2bd3e027e12827a6cbb5c83c31d0c81030;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Fix errata Change-Id: I68df92bc1ad1001e390288990eeea4b72ebcd97e --- diff --git a/Tizen.Applications/Tizen.Applications/AppControl.cs b/Tizen.Applications/Tizen.Applications/AppControl.cs index 7420000..24fae1c 100755 --- a/Tizen.Applications/Tizen.Applications/AppControl.cs +++ b/Tizen.Applications/Tizen.Applications/AppControl.cs @@ -66,146 +66,147 @@ namespace Tizen.Applications { get { return false; } } - } - - /// - /// - /// - public static class Operations - { - /// - /// An explicit launch for a homescreen application. - /// - public const string Main = "http://tizen.org/appcontrol/operation/main"; - - /// - /// An explicit launch for an application that excludes a homescreen application. - /// - public const string Default = "http://tizen.org/appcontrol/operation/default"; - - /// - /// Provides an editable access to the given data. - /// - public const string Edit = "http://tizen.org/appcontrol/operation/edit"; - - /// - /// Displays the data. - /// - public const string View = "http://tizen.org/appcontrol/operation/view"; - - /// - /// Picks items. - /// - public const string Pick = "http://tizen.org/appcontrol/operation/pick"; - - /// - /// Creates contents. - /// - public const string CreateContent = "http://tizen.org/appcontrol/operation/create_content"; - - /// - /// Performs a call to someone. - /// - public const string Call = "http://tizen.org/appcontrol/operation/call"; - - /// - /// Delivers some data to someone else. - /// - public const string Send = "http://tizen.org/appcontrol/operation/send"; - - /// - /// Delivers text data to someone else. - /// - public const string SendText = "http://tizen.org/appcontrol/operation/send_text"; - - /// - /// Shares an item with someone else. - /// - public const string Share = "http://tizen.org/appcontrol/operation/share"; - - /// - /// Shares multiple items with someone else. - /// - public const string MultiShare = "http://tizen.org/appcontrol/operation/multi_share"; - - /// - /// Shares text data with someone else. - /// - public const string ShareText = "http://tizen.org/appcontrol/operation/share_text"; - - /// - /// Dials a number. This shows a UI with the number to be dialed, allowing the user to explicitly initiate the call. - /// - public const string Dial = "http://tizen.org/appcontrol/operation/dial"; - - /// - /// Performs a search. - /// - public const string Search = "http://tizen.org/appcontrol/operation/search"; - - /// - /// Downloads items. - /// - public const string Download = "http://tizen.org/appcontrol/operation/download"; - - /// - /// Prints contents. - /// - public const string Print = "http://tizen.org/appcontrol/operation/print"; - - /// - /// Composes a message. - /// - public const string Compose = "http://tizen.org/appcontrol/operation/compose"; - - /// - /// Can be launched by interested System-Event. - /// - public const string LaunchOnEvent = "http://tizen.org/appcontrol/operation/launch_on_event"; - - /// - /// Adds an item. - /// - public const string Add = "http://tizen.org/appcontrol/operation/add"; - - /// - /// Captures images by camera applications. - /// - public const string ImageCapture = "http://tizen.org/appcontrol/operation/image_capture"; - - /// - /// Captures videos by camera applications. - /// - public const string VideoCapture = "http://tizen.org/appcontrol/operation/video_capture"; - /// - /// Shows system settings. - /// - public const string Setting = "http://tizen.org/appcontrol/operation/setting"; /// - /// Shows settings to enable Bluetooth. - /// - public const string SettingBluetoothEnable = "http://tizen.org/appcontrol/operation/setting/bt_enable"; - - /// - /// Shows settings to configure Bluetooth visibility. - /// - public const string SettingBluetoothVisibility = "http://tizen.org/appcontrol/operation/setting/bt_visibility"; - - /// - /// Shows settings to allow configuration of current location sources. - /// - public const string SettingLocation = "http://tizen.org/appcontrol/operation/setting/location"; - - /// - /// Shows NFC settings. - /// - public const string SettingNfc = "http://tizen.org/appcontrol/operation/setting/nfc"; - - /// - /// Shows settings to allow configuration of Wi-Fi. + /// /// - public const string SettingWifi = "http://tizen.org/appcontrol/operation/setting/wifi"; + public static class Operations + { + /// + /// An explicit launch for a homescreen application. + /// + public const string Main = "http://tizen.org/appcontrol/operation/main"; + + /// + /// An explicit launch for an application that excludes a homescreen application. + /// + public const string Default = "http://tizen.org/appcontrol/operation/default"; + + /// + /// Provides an editable access to the given data. + /// + public const string Edit = "http://tizen.org/appcontrol/operation/edit"; + + /// + /// Displays the data. + /// + public const string View = "http://tizen.org/appcontrol/operation/view"; + + /// + /// Picks items. + /// + public const string Pick = "http://tizen.org/appcontrol/operation/pick"; + + /// + /// Creates contents. + /// + public const string CreateContent = "http://tizen.org/appcontrol/operation/create_content"; + + /// + /// Performs a call to someone. + /// + public const string Call = "http://tizen.org/appcontrol/operation/call"; + + /// + /// Delivers some data to someone else. + /// + public const string Send = "http://tizen.org/appcontrol/operation/send"; + + /// + /// Delivers text data to someone else. + /// + public const string SendText = "http://tizen.org/appcontrol/operation/send_text"; + + /// + /// Shares an item with someone else. + /// + public const string Share = "http://tizen.org/appcontrol/operation/share"; + + /// + /// Shares multiple items with someone else. + /// + public const string MultiShare = "http://tizen.org/appcontrol/operation/multi_share"; + + /// + /// Shares text data with someone else. + /// + public const string ShareText = "http://tizen.org/appcontrol/operation/share_text"; + + /// + /// Dials a number. This shows a UI with the number to be dialed, allowing the user to explicitly initiate the call. + /// + public const string Dial = "http://tizen.org/appcontrol/operation/dial"; + + /// + /// Performs a search. + /// + public const string Search = "http://tizen.org/appcontrol/operation/search"; + + /// + /// Downloads items. + /// + public const string Download = "http://tizen.org/appcontrol/operation/download"; + + /// + /// Prints contents. + /// + public const string Print = "http://tizen.org/appcontrol/operation/print"; + + /// + /// Composes a message. + /// + public const string Compose = "http://tizen.org/appcontrol/operation/compose"; + + /// + /// Can be launched by interested System-Event. + /// + public const string LaunchOnEvent = "http://tizen.org/appcontrol/operation/launch_on_event"; + + /// + /// Adds an item. + /// + public const string Add = "http://tizen.org/appcontrol/operation/add"; + + /// + /// Captures images by camera applications. + /// + public const string ImageCapture = "http://tizen.org/appcontrol/operation/image_capture"; + + /// + /// Captures videos by camera applications. + /// + public const string VideoCapture = "http://tizen.org/appcontrol/operation/video_capture"; + + /// + /// Shows system settings. + /// + public const string Setting = "http://tizen.org/appcontrol/operation/setting"; + + /// + /// Shows settings to enable Bluetooth. + /// + public const string SettingBluetoothEnable = "http://tizen.org/appcontrol/operation/setting/bt_enable"; + + /// + /// Shows settings to configure Bluetooth visibility. + /// + public const string SettingBluetoothVisibility = "http://tizen.org/appcontrol/operation/setting/bt_visibility"; + + /// + /// Shows settings to allow configuration of current location sources. + /// + public const string SettingLocation = "http://tizen.org/appcontrol/operation/setting/location"; + + /// + /// Shows NFC settings. + /// + public const string SettingNfc = "http://tizen.org/appcontrol/operation/setting/nfc"; + + /// + /// Shows settings to allow configuration of Wi-Fi. + /// + public const string SettingWifi = "http://tizen.org/appcontrol/operation/setting/wifi"; + } } } diff --git a/Tizen.Applications/Tizen.Applications/TizenSynchronizationContext.cs b/Tizen.Applications/Tizen.Applications/TizenSynchronizationContext.cs index 1fc54fb..bb60a20 100755 --- a/Tizen.Applications/Tizen.Applications/TizenSynchronizationContext.cs +++ b/Tizen.Applications/Tizen.Applications/TizenSynchronizationContext.cs @@ -18,7 +18,7 @@ namespace Tizen.Applications private readonly Interop.Glib.GSourceFunc _wrapperHandler; private readonly Object _transactionLock = new Object(); private readonly Dictionary _handlerMap = new Dictionary(); - private int _transactionID = 0; + private int _transactionId = 0; private TizenSynchronizationContext() { @@ -69,7 +69,7 @@ namespace Tizen.Applications int id = 0; lock (_transactionLock) { - id = _transactionID++; + id = _transactionId++; } _handlerMap.Add(id, action); Interop.Glib.IdleAdd(_wrapperHandler, (IntPtr)id);