Fixed self verification issue : TPLAPP-3985 31/155131/1
authorHyerim Kim <rimi.kim@samsung.com>
Thu, 12 Oct 2017 06:29:16 +0000 (15:29 +0900)
committerHyerim Kim <rimi.kim@samsung.com>
Thu, 12 Oct 2017 06:29:16 +0000 (15:29 +0900)
 - Unnecessary focusing event is occured when it changed from normal mode to pin/delete mode.

Change-Id: I1dae967867ca0e197a3e2aff96564efa9e803dc3
Signed-off-by: Hyerim Kim <rimi.kim@samsung.com>
TVApps/TVApps/Views/MainPage.xaml.cs

index 161eea6..7610100 100755 (executable)
@@ -414,7 +414,6 @@ namespace TVApps.Views
                     FooterPin.additionalInfo.IsVisible = false;
                     FooterDelete.IsVisible = false;
                     BackKeyInfo.Text = "Quit";
-                    AppList.InitializeFocus();
                     break;
                 case AppsStatus.Pin:
                     FooterNormal.IsVisible = false;
@@ -436,6 +435,7 @@ namespace TVApps.Views
                     FooterPin.IsVisible = false;
                     FooterDelete.IsVisible = true;
                     BackKeyInfo.Text = "Front";
+                    AppList.InitializeFocus();
                     break;
                 case AppsStatus.LongPress:
                     FooterNormal.IsVisible = true;
@@ -470,10 +470,6 @@ namespace TVApps.Views
                     ret.Add("answer", answer ? "yes" : "no");
                     DeletePopupCommand?.Execute(ret);
                 }
-                else
-                {
-                    AppList.InitializeFocus();
-                }
             }
             else if (e.PropertyName.Equals("IsSelectedExceeds"))
             {