From: WonYoung Choi Date: Thu, 24 Mar 2016 05:27:00 +0000 (+0900) Subject: Fix spec for smack issue X-Git-Tag: submit/trunk/20170823.075128~121^2~209 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=81c5d8a0efb32f079fdc6d5e9b1d80911fd5b859;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Fix spec for smack issue Change-Id: Ib6f50e06dab1184235bbb118e6751b6846ad9d1d --- diff --git a/Tizen.Applications/Tizen.Applications/Application.cs b/Tizen.Applications/Tizen.Applications/Application.cs index f9b09b0..e21956d 100755 --- a/Tizen.Applications/Tizen.Applications/Application.cs +++ b/Tizen.Applications/Tizen.Applications/Application.cs @@ -50,7 +50,7 @@ namespace Tizen.Applications s_CurrentApplication = this; Interop.AppEvent.AddEventHandler(Interop.AppEvent.EventNames.LowMemory, HandleAppEvent, IntPtr.Zero, out _lowMemoryNativeHandle); - Interop.AppEvent.AddEventHandler(Interop.AppEvent.EventNames.LowMemory, HandleAppEvent, IntPtr.Zero, out _localeChangedNativeHandle); + Interop.AppEvent.AddEventHandler(Interop.AppEvent.EventNames.LanguageSet, HandleAppEvent, IntPtr.Zero, out _localeChangedNativeHandle); } /// @@ -114,6 +114,7 @@ namespace Tizen.Applications private void HandleAppEvent(string eventName, IntPtr eventData, IntPtr data) { + Console.WriteLine("HandleAppEvent!! eventName={0}, eventData={1}", eventName, eventData); Bundle b = new Bundle(eventData); if (eventName == Interop.AppEvent.EventNames.LowMemory) { diff --git a/Tizen.Applications/Tizen.Applications/Bundle.cs b/Tizen.Applications/Tizen.Applications/Bundle.cs old mode 100644 new mode 100755 index 55e33a9..94f2f64 --- a/Tizen.Applications/Tizen.Applications/Bundle.cs +++ b/Tizen.Applications/Tizen.Applications/Bundle.cs @@ -35,6 +35,7 @@ namespace Tizen.Applications if (handle != IntPtr.Zero) { _handle = handle; + _disposed = true; _keys = new HashSet(); Interop.Bundle.Iterator iterator = (string key, int type, IntPtr keyval, IntPtr userData) => { diff --git a/packaging/csapi-application.spec b/packaging/csapi-application.spec index ce5de3a..8a63e40 100644 --- a/packaging/csapi-application.spec +++ b/packaging/csapi-application.spec @@ -62,7 +62,10 @@ sed -e "s#@version@#%{version}#g" \ %post gacutil -i %{dllpath}/%{dllname} +find %{_libdir}/mono/gac -name Tizen* -exec chsmack -a "_" {} \; + %files +%manifest %{name}.manifest %{dllpath}/%{dllname} %files devel