From 2368b6e7062b706678f67b91946c37516cf2eece Mon Sep 17 00:00:00 2001 From: cskim Date: Wed, 3 May 2017 13:28:34 +0900 Subject: [PATCH] To prohibit build error. Change-Id: I4f4cf082e8466d73fc7433553bb6962c87cb1b9b --- TVApps/TVApps/Views/MainPage.xaml.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/TVApps/TVApps/Views/MainPage.xaml.cs b/TVApps/TVApps/Views/MainPage.xaml.cs index 9aa3110..2e41320 100755 --- a/TVApps/TVApps/Views/MainPage.xaml.cs +++ b/TVApps/TVApps/Views/MainPage.xaml.cs @@ -526,9 +526,11 @@ namespace TVApps.Views return false; } - SynchronizationContext.Current.Post(async (o) => + SynchronizationContext.Current.Post((o) => { - await OnBackKeyPressedAtMain(); +#pragma warning disable CS4014 + OnBackKeyPressedAtMain(); +#pragma warning restore CS4014 }, ""); return true; } -- 2.34.1