release tizen_2.0 beta 2.0alpha master 2.0_alpha submit/master/20120920.151118
authorKyeongchul Kim <kyeongchul.kim@samsung.com>
Tue, 21 Aug 2012 13:14:28 +0000 (22:14 +0900)
committerKyeongchul Kim <kyeongchul.kim@samsung.com>
Tue, 21 Aug 2012 13:14:28 +0000 (22:14 +0900)
debian/changelog
packaging/tel-plugin-indicator.spec
src/desc-indicator.c

index 60f3ddd..2f8d3bf 100644 (file)
@@ -1,7 +1,23 @@
+tel-plugin-indicator (0.1.4) unstable; urgency=low
+
+  * Add context reset logic after modem crash
+  * Git: slp/pkgs/t/tel-plugin-indicator
+  * Tag: tel-plugin-indicator_0.1.4
+
+ -- DongHoo Park <donghoo.park@samsung.com>  Wed, 23 May 2012 17:37:50 +0900
+
+tel-plugin-indicator (0.1.3) unstable; urgency=low
+
+  * package version sync with public
+  * Git: slp/pkgs/t/tel-plugin-indicator
+  * Tag: tel-plugin-indicator_0.1.3
+
+ -- Inho Oh <inho48.oh@samsung.com>  Mon, 02 Apr 2012 14:49:46 +0900
+
 tel-plugin-indicator (0.1.2) unstable; urgency=low
 
   * Fix prefix (TAPI_ to TCORE_)
-  * Git: pkgs/t/tel-plugin-indicator
+  * Git: slp/pkgs/t/tel-plugin-indicator
   * Tag: tel-plugin-indicator_0.1.2
 
  -- Inho Oh <inho48.oh@samsung.com>  Tue, 27 Mar 2012 22:17:37 +0900
@@ -9,7 +25,7 @@ tel-plugin-indicator (0.1.2) unstable; urgency=low
 tel-plugin-indicator (0.1.1) unstable; urgency=low
 
   * Add .spec for OBS
-  * Git: pkgs/t/tel-plugin-indicator
+  * Git: slp/pkgs/t/tel-plugin-indicator
   * Tag: tel-plugin-indicator_0.1.1
 
  -- DongHoo Park <donghoo.park@samsung.com>  Fri, 16 Mar 2012 21:31:53 +0900
@@ -17,7 +33,7 @@ tel-plugin-indicator (0.1.1) unstable; urgency=low
 tel-plugin-indicator (0.1.0) unstable; urgency=low
 
   * Initial
-  * Git: pkgs/t/tel-plugin-indicator
+  * Git: slp/pkgs/t/tel-plugin-indicator
   * Tag: tel-plugin-indicator_0.1.0
 
  -- Inho Oh <inho48.oh@samsung.com>  Thu, 15 Mar 2012 22:37:29 +0900
index e7d0bce..0a134bb 100644 (file)
@@ -1,7 +1,7 @@
 #sbs-git:slp/pkgs/t/tel-plugin-indicator
 Name:       tel-plugin-indicator
 Summary:    Telephony Indicator plugin
-Version: 0.1.1
+Version: 0.1.4
 Release:    1
 Group:      System/Libraries
 License:    Apache
index 8eba297..6176506 100644 (file)
@@ -275,6 +275,25 @@ static gboolean _indicator_update_callback(gpointer user_data)
        return TRUE;
 }
 
+static enum tcore_hook_return __on_hook_powered(Server *s, CoreObject *source,
+               enum tcore_notification_command command, unsigned int data_len, void *data, void *user_data)
+{
+       struct tnoti_modem_power *modem_power = NULL;
+
+       dbg("powered event called");
+       g_return_val_if_fail(data != NULL, TCORE_HOOK_RETURN_STOP_PROPAGATION);
+
+       modem_power = (struct tnoti_modem_power *)data;
+       if ( modem_power->state == MODEM_STATE_ERROR ){
+               indicator_info.active = FALSE;
+               g_free(indicator_info.devname);
+               indicator_info.devname = NULL;
+               _indicator_stop_updater(s);
+       }
+
+       return TCORE_HOOK_RETURN_CONTINUE;
+}
+
 static enum tcore_hook_return __on_hook_callstatus(Server *s, CoreObject *source,
                enum tcore_notification_command command, unsigned int data_len, void *data,
                void *user_data)
@@ -323,6 +342,7 @@ static gboolean on_init(TcorePlugin *p)
 {
        Server *s = NULL;
        s = tcore_plugin_ref_server(p);
+       tcore_server_add_notification_hook(s, TNOTI_MODEM_POWER, __on_hook_powered, NULL);
        tcore_server_add_notification_hook(s, TNOTI_PS_CALL_STATUS, __on_hook_callstatus, NULL);
        dbg("initialized Indicator plugin!");
        return TRUE;