r2698 - in trunk/src/target/OM-2007.2/applications/openmoko-dialer2: . src
njp at sita.openmoko.org
njp at sita.openmoko.org
Tue Aug 14 13:54:23 CEST 2007
Author: njp
Date: 2007-08-14 13:54:22 +0200 (Tue, 14 Aug 2007)
New Revision: 2698
Modified:
trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-notify.c
Log:
2007-08-14 Neil J. Patel <njp at o-hand.com>
* src/moko-notify.c: (moko_notify_check_brightness):
Set the brightness to highest when receiving a call.
Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog 2007-08-13 22:46:51 UTC (rev 2697)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog 2007-08-14 11:54:22 UTC (rev 2698)
@@ -1,3 +1,8 @@
+2007-08-14 Neil J. Patel <njp at o-hand.com>
+
+ * src/moko-notify.c: (moko_notify_check_brightness):
+ Set the brightness to highest when receiving a call.
+
2007-08-13 Neil J. Patel <njp at o-hand.com>
* src/moko-dialer.c: (moko_dialer_init):
Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-notify.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-notify.c 2007-08-13 22:46:51 UTC (rev 2697)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-notify.c 2007-08-14 11:54:22 UTC (rev 2698)
@@ -74,13 +74,15 @@
g_warning ("Unable to open brightness device");
return;
}
+ /*
if (read (fd, buf, sizeof (buf)) == -1)
{
close (fd);
return;
}
brightness = atoi (buf);
-
+ */
+ brightness = 0;
if (brightness >= 5000)
{
close (fd);
More information about the commitlog
mailing list