diff options
author | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2010-11-23 14:35:41 +0100 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-11-25 16:46:33 -0600 |
commit | 3d1a4ec2393e23cc7c3e54a92750b4d0c0f0bcf4 (patch) | |
tree | 1cc2f08c72afd0e35a0ca22227e6e62ffba96121 /src/stk.c | |
parent | 175ac85942cc7063b88bc5980bfd554d7b68004b (diff) | |
download | ofono-3d1a4ec2393e23cc7c3e54a92750b4d0c0f0bcf4.tar.bz2 |
stk: use bigger timeout in DisplayText
When the wait for user confirmation bit is set.
Diffstat (limited to 'src/stk.c')
-rw-r--r-- | src/stk.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1273,6 +1273,9 @@ static gboolean handle_command_display_text(const struct stk_command *cmd, return TRUE; } + if (qualifier & (1 << 7)) + timeout = stk->timeout * 1000; + if (dt->duration.interval) timeout = duration_to_msecs(&dt->duration); |