Revert "[Application] Add CurrentDeviceOrientation property on CoreUIApplication...
authorHyunho Kang <hhstark.kang@samsung.com>
Tue, 4 Dec 2018 08:07:27 +0000 (17:07 +0900)
committersemun-lee <35090067+semun-lee@users.noreply.github.com>
Tue, 4 Dec 2018 08:07:27 +0000 (17:07 +0900)
This reverts commit 92652c66f396fcea624ca578db88dcbf59f2e5ec.

src/Tizen.Applications.UI/Interop/Interop.Application.cs
src/Tizen.Applications.UI/Tizen.Applications/CoreUIApplication.cs [changed mode: 0644->0755]

index 3aa879296d85f6abdc7dfd6b96b5fd8acd994fbc..177bfea0698f791e6aa64aafa6c73a9f44c31c99 100755 (executable)
@@ -16,7 +16,6 @@
 
 using System;
 using System.Runtime.InteropServices;
-using Tizen.Applications;
 using Tizen.Applications.CoreBackend;
 using Tizen.Internals.Errors;
 
@@ -36,10 +35,6 @@ internal static partial class Interop
 
         internal delegate void AppControlCallback(IntPtr appControl, IntPtr userData);
 
-
-        [DllImport(Libraries.Application, EntryPoint = "app_get_device_orientation")]
-        internal static extern DeviceOrientation AppGetDeviceOrientation();
-
         [DllImport(Libraries.Application, EntryPoint = "ui_app_main")]
         internal static extern ErrorCode Main(int argc, string[] argv, ref UIAppLifecycleCallbacks callback, IntPtr userData);
 
old mode 100644 (file)
new mode 100755 (executable)
index 5fd06e6..ad16365
@@ -49,18 +49,6 @@ namespace Tizen.Applications
         {
         }
 
-        /// <summary>
-        /// Gets the current device orientation.
-        /// </summary>
-        /// <since_tizen> 6 </since_tizen>
-        static public DeviceOrientation CurrentDeviceOrientation
-        {
-            get
-            {
-                return Interop.Application.AppGetDeviceOrientation();
-            }
-        }
-
         /// <summary>
         /// Occurs whenever the application is resumed.
         /// </summary>