This patch should handle the non-locking during active calls
correctly. See attached file.
--- phonefsod-fso.c.orig	2010-02-18 22:03:15.000000000 +0100
+++ phonefsod-fso.c	2010-02-19 13:00:53.000000000 +0100
@@ -593,10 +593,10 @@
 		_dimit(dim_idle_prelock_percent);
 		break;
 	case DEVICE_IDLE_STATE_LOCK:
-		if (idle_screen & IDLE_SCREEN_LOCK &&
-				(!(idle_screen & IDLE_SCREEN_PHONE) ||
-				 (incoming_calls_size == 0 && outgoing_calls_size == 0))) {
-		       phoneuid_idle_screen_show();
+		if ((idle_screen & IDLE_SCREEN_LOCK) &&		/* show the lock screen */
+		    ((idle_screen & IDLE_SCREEN_PHONE) ||	/* and show it even on active calls */
+		    ((incoming_calls_size == 0) && (outgoing_calls_size == 0)))) {	/* or when no call is active */
+			phoneuid_idle_screen_show();
 		}
 		break;
 	case DEVICE_IDLE_STATE_SUSPEND:
_______________________________________________
Shr-devel mailing list
Shr-devel@lists.shr-project.org
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to