~charlesk/indicator-datetime/lp-1405806-improve-clock-change-detection-rtm-14.09

« back to all changes in this revision

Viewing changes to src/com.ubuntu.touch.AccountsService.Sound.xml

Don't play calendar alarm sounds if Silent Mode is enabled. Use the alarm sound role for both clock and calendar alarms. Fixes: #1410874
Approved by: Antti Kaijanmäki

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<node>
 
2
    <interface name="com.ubuntu.touch.AccountsService.Sound">
 
3
 
 
4
        <annotation name="org.freedesktop.Accounts.VendorExtension" value="true"/>
 
5
 
 
6
        <!-- Muted is all sound, SilentMode is only non-user-initiated sounds -->
 
7
        <property name="SilentMode" type="b" access="readwrite">
 
8
            <annotation name="org.freedesktop.Accounts.DefaultValue" value="false"/>
 
9
        </property>
 
10
 
 
11
        <property name="IncomingCallSound" type="s" access="readwrite">
 
12
            <annotation name="org.freedesktop.Accounts.DefaultValue.String" 
 
13
                value="/usr/share/sounds/ubuntu/ringtones/Ubuntu.ogg"/>
 
14
        </property>
 
15
 
 
16
        <property name="IncomingMessageSound" type="s" access="readwrite">
 
17
            <annotation name="org.freedesktop.Accounts.DefaultValue.String" 
 
18
                value="/usr/share/sounds/ubuntu/notifications/Xylo.ogg"/>
 
19
        </property>
 
20
 
 
21
        <property name="IncomingCallVibrate" type="b" access="readwrite">
 
22
            <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
 
23
        </property>
 
24
 
 
25
        <property name="IncomingCallVibrateSilentMode" type="b" access="readwrite">
 
26
            <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
 
27
        </property>
 
28
 
 
29
        <property name="IncomingMessageVibrate" type="b" access="readwrite">
 
30
            <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
 
31
        </property>
 
32
 
 
33
        <property name="IncomingMessageVibrateSilentMode" type="b" access="readwrite">
 
34
            <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
 
35
        </property>
 
36
 
 
37
        <property name="DialpadSoundsEnabled" type="b" access="readwrite">
 
38
            <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
 
39
        </property>
 
40
 
 
41
    </interface>
 
42
</node>