--- phonefsod-fso.c.orig        2010-02-18 22:03:15.000000000 +0100
+++ phonefsod-fso.c     2010-02-18 22:16:22.000000000 +0100
@@ -593,10 +593,11 @@
               _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) ||       /*
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-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to