Fix spec for smack issue
authorWonYoung Choi <wy80.choi@samsung.com>
Thu, 24 Mar 2016 05:27:00 +0000 (14:27 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Thu, 24 Mar 2016 05:27:00 +0000 (14:27 +0900)
Change-Id: Ib6f50e06dab1184235bbb118e6751b6846ad9d1d

Tizen.Applications/Tizen.Applications/Application.cs
Tizen.Applications/Tizen.Applications/Bundle.cs [changed mode: 0644->0755]
packaging/csapi-application.spec

index f9b09b0..e21956d 100755 (executable)
@@ -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);
         }
 
         /// <summary>
@@ -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)
             {
old mode 100644 (file)
new mode 100755 (executable)
index 55e33a9..94f2f64
@@ -35,6 +35,7 @@ namespace Tizen.Applications
             if (handle != IntPtr.Zero)
             {
                 _handle = handle;
+                _disposed = true;
                 _keys = new HashSet<string>();
                 Interop.Bundle.Iterator iterator = (string key, int type, IntPtr keyval, IntPtr userData) =>
                 {
index ce5de3a..8a63e40 100644 (file)
@@ -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