1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2014, The Android Open Source Project
5**
6** Licensed under the Apache License, Version 2.0 (the "License");
7** you may not use this file except in compliance with the License.
8** You may obtain a copy of the License at
9**
10**     http://www.apache.org/licenses/LICENSE-2.0
11**
12** Unless required by applicable law or agreed to in writing, software
13** distributed under the License is distributed on an "AS IS" BASIS,
14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15** See the License for the specific language governing permissions and
16** limitations under the License.
17*/
18-->
19
20<!-- Default configuration for zen mode.  See android.service.notification.ZenModeConfig. -->
21<zen version="10">
22    <allow alarms="true" media="true" system="false" calls="true" callsFrom="2" messages="true"
23            messagesFrom="2" reminders="false" events="false" repeatCallers="true" convos="true"
24            convosFrom="2"/>
25    <automatic ruleId="EVENTS_DEFAULT_RULE" enabled="false" snoozing="false" name="Event" zen="1"
26               component="android/com.android.server.notification.EventConditionProvider"
27               conditionId="condition://android/event?userId=-10000&amp;calendar=&amp;reply=1"/>
28    <automatic ruleId="EVERY_NIGHT_DEFAULT_RULE" enabled="false" snoozing="false" name="Sleeping"
29               zen="1" component="android/com.android.server.notification.ScheduleConditionProvider"
30               conditionId="condition://android/schedule?days=1.2.3.4.5.6.7&amp;start=22.0&amp;end=7.0&amp;exitAtAlarm=true"/>
31    <!-- everything when screen off (for old target sdks); fullscreen; lights; peek; ambient -->
32    <disallow visualEffects="157" />
33    <!-- whether there are notification channels that can bypass dnd -->
34    <state areChannelsBypassingDnd="false" />
35</zen>
36