equal
deleted
inserted
replaced
121 TFLOGSTRING( |
121 TFLOGSTRING( |
122 "SATAPP: SatAppCommandHandler::displayText wait user to clear") |
122 "SATAPP: SatAppCommandHandler::displayText wait user to clear") |
123 duration = KDisplayTxtUserClearTimeout; |
123 duration = KDisplayTxtUserClearTimeout; |
124 } |
124 } |
125 } else { |
125 } else { |
126 // if duration defined |
126 TFLOGSTRING( |
|
127 "SATAPP: SatAppCommandHandler::displayText duration given") |
127 duration = aDuration * 1000; |
128 duration = aDuration * 1000; |
|
129 } |
|
130 |
|
131 // If not sustained or Clear after delay requested start timer |
|
132 if ( !(!aSustainedText || aDuration || !aWaitUserToClear) ){ |
|
133 TFLOGSTRING( |
|
134 "SATAPP: SatAppCommandHandler::displayText no duration") |
|
135 duration = 0; |
128 } |
136 } |
129 TFLOGSTRING2( |
137 TFLOGSTRING2( |
130 "SATAPP: SatAppCommandHandler::displayText duration: %d", |
138 "SATAPP: SatAppCommandHandler::displayText duration: %d", |
131 duration) |
139 duration) |
132 TSatAppUserResponse rsp = EUserNoResponse; |
140 TSatAppUserResponse rsp = EUserNoResponse; |