equal
deleted
inserted
replaced
|
1 <script xmlns="http://www.nokia.com/ns/cep/script/1.0/" xmlns:cep="http://www.nokia.com/ns/cep/1.0/"> |
|
2 <!-- do nothing if the pre-conditions do not match --> |
|
3 <if> |
|
4 <!-- silence ringing tone feature is not active --> |
|
5 <notEqual> |
|
6 <contextRef source='Feature' type='SilenceRingingTone.Active' value='true'/> |
|
7 </notEqual> |
|
8 <actions> |
|
9 <!-- do nothing --> |
|
10 </actions> |
|
11 </if> |
|
12 |
|
13 <!-- silence the ringing tone --> |
|
14 <elseIf> |
|
15 <and> |
|
16 <!-- display is turned down --> |
|
17 <contextChanged> |
|
18 <contextRef source='Sensor' type='Event.Orientation' value='DisplayDownwards'/> |
|
19 </contextChanged> |
|
20 <!-- previous orientation state is not undefined --> |
|
21 <notEqual> |
|
22 <contextRef source='Sensor' type='Event.Orientation.Previous' value='Undefined'/> |
|
23 </notEqual> |
|
24 </and> |
|
25 <actions> |
|
26 <!-- Silence ringing tone --> |
|
27 <Phone Command='Silence'/> |
|
28 </actions> |
|
29 </elseIf> |
|
30 </script> |