From: kibak.yoon Date: Tue, 12 Sep 2017 02:42:10 +0000 (+0900) Subject: [Sensor] Fix build warnings X-Git-Tag: preview1-00188^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed739983b932dd16effe3863a8b8d9836597fc6f;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [Sensor] Fix build warnings Change-Id: I6773fc1e4f1e8fa318378fd77e1465c697623c50 Signed-off-by: kibak.yoon --- diff --git a/src/Tizen.Sensor/Interop/Interop.Sensor.cs b/src/Tizen.Sensor/Interop/Interop.Sensor.cs index 58a6b1e13..160c03364 100644 --- a/src/Tizen.Sensor/Interop/Interop.Sensor.cs +++ b/src/Tizen.Sensor/Interop/Interop.Sensor.cs @@ -130,7 +130,7 @@ internal static partial class Interop internal static SensorEventStruct IntPtrToEventStruct(IntPtr unmanagedVariable) { - SensorEventStruct outStruct = (SensorEventStruct)Marshal.PtrToStructure(unmanagedVariable, typeof(SensorEventStruct)); + SensorEventStruct outStruct = (SensorEventStruct)Marshal.PtrToStructure(unmanagedVariable); return outStruct; } } diff --git a/src/Tizen.Sensor/Tizen.Sensor/Plugins/HeartRateMonitor.cs b/src/Tizen.Sensor/Tizen.Sensor/Plugins/HeartRateMonitor.cs index e6c6f4859..330628ceb 100755 --- a/src/Tizen.Sensor/Tizen.Sensor/Plugins/HeartRateMonitor.cs +++ b/src/Tizen.Sensor/Tizen.Sensor/Plugins/HeartRateMonitor.cs @@ -69,7 +69,7 @@ namespace Tizen.Sensor /// http://tizen.org/feature/sensor.heart_rate_monitor /// Thrown when an invalid argument is used. /// Thrown when the sensor is not supported. - /// Thrown when the application has no privilege to use the sensor. + /// Thrown when the application has no privilege to use the sensor. /// Thrown when the operation is invalid for the current state. /// /// Index. Default value for this is 0. Index refers to a particular heart rate monitor in case of multiple sensors. diff --git a/src/Tizen.Sensor/Tizen.Sensor/Plugins/Pedometer.cs b/src/Tizen.Sensor/Tizen.Sensor/Plugins/Pedometer.cs index 2f778f3e5..4c9c50280 100755 --- a/src/Tizen.Sensor/Tizen.Sensor/Plugins/Pedometer.cs +++ b/src/Tizen.Sensor/Tizen.Sensor/Plugins/Pedometer.cs @@ -118,7 +118,7 @@ namespace Tizen.Sensor /// http://tizen.org/feature/sensor.pedometer /// Thrown when an invalid argument is used. /// Thrown when the sensor is not supported. - /// Thrown when the application has no privilege to use the sensor. + /// Thrown when the application has no privilege to use the sensor. /// Thrown when the operation is invalid for the current state. /// /// Index. Default value for this is 0. Index refers to a particular pedometer sensor in case of multiple sensors. diff --git a/src/Tizen.Sensor/Tizen.Sensor/Plugins/SleepMonitor.cs b/src/Tizen.Sensor/Tizen.Sensor/Plugins/SleepMonitor.cs index e9c857862..7ac0b4659 100755 --- a/src/Tizen.Sensor/Tizen.Sensor/Plugins/SleepMonitor.cs +++ b/src/Tizen.Sensor/Tizen.Sensor/Plugins/SleepMonitor.cs @@ -69,7 +69,7 @@ namespace Tizen.Sensor /// http://tizen.org/feature/sensor.sleep_monitor /// Thrown when an invalid argument is used. /// Thrown when the sensor is not supported. - /// Thrown when the application has no privilege to use the sensor. + /// Thrown when the application has no privilege to use the sensor. /// Thrown when the operation is invalid for the current state. /// /// Index. Default value for this is 0. Index refers to a particular sleep monitor in case of multiple sensors. diff --git a/src/Tizen.Sensor/Tizen.Sensor/Plugins/StationaryActivityDetector.cs b/src/Tizen.Sensor/Tizen.Sensor/Plugins/StationaryActivityDetector.cs index 74d88c158..79ebddb19 100755 --- a/src/Tizen.Sensor/Tizen.Sensor/Plugins/StationaryActivityDetector.cs +++ b/src/Tizen.Sensor/Tizen.Sensor/Plugins/StationaryActivityDetector.cs @@ -61,7 +61,7 @@ namespace Tizen.Sensor } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// 3 /// http://tizen.org/feature/sensor.activity_recognition diff --git a/src/Tizen.Sensor/Tizen.Sensor/Plugins/WalkingActivityDetector.cs b/src/Tizen.Sensor/Tizen.Sensor/Plugins/WalkingActivityDetector.cs index 6e5c16280..d2b7906dd 100755 --- a/src/Tizen.Sensor/Tizen.Sensor/Plugins/WalkingActivityDetector.cs +++ b/src/Tizen.Sensor/Tizen.Sensor/Plugins/WalkingActivityDetector.cs @@ -61,7 +61,7 @@ namespace Tizen.Sensor } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// 3 /// http://tizen.org/feature/sensor.activity_recognition