On 18 February 2010 13:33, David Garabana Barro <[email protected]> wrote:
> On Thursday 18 February 2010 12:44:34 Joachim Ott wrote:
>> On 18 February 2010 12:03, David Garabana Barro <[email protected]> wrote:
>> > Hi
>> >
>> > Using latest SHR-u, screen is locked when making a call.
>> > I think it shouldn't lock it until you finish call. You might need to
>> > take some note, or simply push some number on virtual keyboard, and
>> > locked screen is annoying in this case.
>>
>> Check your setting in /etc/phonefsod.conf for idle_screen. Is "phone"
>> included?
>
> No, it isn't:
>
> idle_screen = aux,lock

Just a thought when looking at phonefsod-fso.c:

in fso_device_idle_notifier_state_handler():

                if (idle_screen & IDLE_SCREEN_LOCK &&
                                (!(idle_screen & IDLE_SCREEN_PHONE) ||
                                 (incoming_calls_size == 0 &&
outgoing_calls_size == 0))) {
                       phoneuid_idle_screen_show();
                }

idle_screen & IDLE_SCREEN_LOCK = 2
idle_screen & IDLE_SCREEN_PHONE = 0
!(idle_screen & IDLE_SCREEN_PHONE) = 1

The rest after the || is skipped because the the expression is already true.

So for your case it should work when you change the config to

idle_screen = aux,lock,phone

tho the comment above says something different. Test it just to verify the code.

And an enum should be an enum, not a bit field or a set.
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to