summaryrefslogtreecommitdiffstats
path: root/src/stk.c
diff options
context:
space:
mode:
authorAndrzej Zaborowski <andrew.zaborowski@intel.com>2010-11-23 14:35:41 +0100
committerDenis Kenzior <denkenz@gmail.com>2010-11-25 16:46:33 -0600
commit3d1a4ec2393e23cc7c3e54a92750b4d0c0f0bcf4 (patch)
tree1cc2f08c72afd0e35a0ca22227e6e62ffba96121 /src/stk.c
parent175ac85942cc7063b88bc5980bfd554d7b68004b (diff)
downloadofono-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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stk.c b/src/stk.c
index ac2e6468..88b162c1 100644
--- a/src/stk.c
+++ b/src/stk.c
@@ -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);