Fixes & Release 1.1.11 94/282694/1
authorYurii Zinchuk/Tizen Services & IoT (PLT) /SRPOL/Engineer/Samsung Electronics <y.zinchuk@samsung.com>
Sun, 9 Oct 2022 17:39:08 +0000 (19:39 +0200)
committerk.stepaniuk <k.stepaniuk@samsung.com>
Sun, 9 Oct 2022 18:15:09 +0000 (20:15 +0200)
Change-Id: Ieeff63d9c1c436547b89d396096c23785217142e

Oobe/Oobe/OobeApp.cs
Oobe/Oobe/tizen-manifest.xml
packaging/org.tizen.oobe-1.1.11.tpk [moved from packaging/org.tizen.oobe-1.1.10.tpk with 61% similarity]
packaging/org.tizen.oobe.spec

index fcb0a58..660e305 100644 (file)
@@ -88,7 +88,8 @@ namespace Oobe
             Window.Instance.Type = WindowType.Notification;
             Window.Instance.SetNotificationLevel(NotificationLevel.High);
 
-            var scale = Window.Instance.Size.Height >= 1080 ? 0.9f : 0.6f;
+            var size = ScreenSizeUtils.IsPortrait ? Window.Instance.Size.Width : Window.Instance.Size.Height;
+            var scale = size >= 1080 ? 0.9f : 0.6f;
             SpUtils.DefaultFactor = (Window.Instance.Dpi.Width / 160) / scale;
             Tizen.Log.Debug("oobe", $"DefaultScaleFactor: {SpUtils.DefaultFactor}");
 
index 3dcfccf..0c8570c 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<manifest package="org.tizen.oobe" version="1.1.9" api-version="5" xmlns="http://tizen.org/ns/packages">
+<manifest package="org.tizen.oobe" version="1.1.11" api-version="5" xmlns="http://tizen.org/ns/packages">
   <profile name="common" />
   <ui-application appid="org.tizen.oobe" exec="Oobe.dll" multiple="false" nodisplay="true" taskmanage="false" type="dotnet-nui" launch_mode="single">
     <label>Oobe</label>
similarity index 61%
rename from packaging/org.tizen.oobe-1.1.10.tpk
rename to packaging/org.tizen.oobe-1.1.11.tpk
index 78735fe..94339db 100644 (file)
Binary files a/packaging/org.tizen.oobe-1.1.10.tpk and b/packaging/org.tizen.oobe-1.1.11.tpk differ
index 23f47ac..00233c2 100644 (file)
@@ -1,6 +1,6 @@
 Name:       org.tizen.oobe
 Summary:    org.tizen.oobe
-Version:    1.1.10
+Version:    1.1.11
 Release:    1
 Group:      N/A
 License:    Apache-2.0