[maemo-commits] [maemo-commits] r18153 - in projects/haf/trunk/ke-recv: debian src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Apr 23 17:23:11 EEST 2009
Author: kihamala
Date: 2009-04-23 17:23:10 +0300 (Thu, 23 Apr 2009)
New Revision: 18153

Modified:
   projects/haf/trunk/ke-recv/debian/changelog
   projects/haf/trunk/ke-recv/src/events.c
Log:
set battery cover gconf key when starting up


Modified: projects/haf/trunk/ke-recv/debian/changelog
===================================================================
--- projects/haf/trunk/ke-recv/debian/changelog	2009-04-23 14:20:02 UTC (rev 18152)
+++ projects/haf/trunk/ke-recv/debian/changelog	2009-04-23 14:23:10 UTC (rev 18153)
@@ -1,3 +1,11 @@
+ke-recv (3.16-1~unreleased) unstable; urgency=low
+
+  * Set the cover open GConf key on E_INIT_CARD.
+  * Fixes: NB#105727 - Camera is not considering Lens cover as open, if
+    battery cover is not present
+
+ -- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>  Thu, 23 Apr 2009 14:19:41 +0300
+
 ke-recv (3.15-1) unstable; urgency=low
 
   * Fixes: NB#111920 - Do not mount volumes when the cover is closed, but wait

Modified: projects/haf/trunk/ke-recv/src/events.c
===================================================================
--- projects/haf/trunk/ke-recv/src/events.c	2009-04-23 14:20:02 UTC (rev 18152)
+++ projects/haf/trunk/ke-recv/src/events.c	2009-04-23 14:23:10 UTC (rev 18153)
@@ -1139,6 +1139,7 @@
                 case E_INIT_CARD:
                         ULOG_DEBUG_F("E_INIT_CARD for %s", mmc->name);
                         /* cover is open, the device should not be used */
+                        inform_mmc_cover_open(TRUE, mmc);
                         inform_device_present(FALSE, mmc);
                         break;
                 case E_PLUGGED:
@@ -1343,6 +1344,7 @@
                         break;
                 case E_INIT_CARD:
                         ULOG_DEBUG_F("E_INIT_CARD for %s", mmc->name);
+                        inform_mmc_cover_open(FALSE, mmc);
                         if (mmc->whole_device != NULL) {
                                 inform_device_present(TRUE, mmc);
                                 if (!ignore_cable && in_mass_storage_mode()


More information about the maemo-commits mailing list