• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18        package="com.android.providers.calendar"
19        android:sharedUserId="android.uid.calendar">
20
21    <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS" />
22    <uses-permission android:name="android.permission.READ_CALENDAR" />
23    <uses-permission android:name="android.permission.WRITE_CALENDAR" />
24    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
25    <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
26    <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.cl" />
27    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
28    <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED" />
29    <uses-permission android:name="android.permission.USE_CREDENTIALS" />
30    <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
31    <uses-permission android:name="android.permission.READ_SYNC_STATS" />
32    <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
33    <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
34    <uses-permission android:name="android.permission.INTERNET" />
35    <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_READ" />
36    <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE" />
37    <uses-permission android:name="android.permission.WAKE_LOCK" />
38    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
39    <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
40    <uses-permission android:name="android.permission.USE_RESERVED_DISK" />
41    <uses-permission android:name="android.permission.MANAGE_USERS" />
42    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
43    <uses-permission android:name="android.permission.LOG_COMPAT_CHANGE" />
44    <uses-permission android:name="android.permission.READ_COMPAT_CHANGE_CONFIG" />
45
46    <application android:label="@string/calendar_storage"
47                 android:allowBackup="false"
48                 android:icon="@drawable/app_icon"
49                 android:forceQueryable="true"
50                 android:usesCleartextTraffic="false">
51
52        <provider android:name="CalendarProvider2" android:authorities="com.android.calendar"
53                android:label="@string/provider_label"
54                android:multiprocess="false"
55                android:exported="true"
56                android:readPermission="android.permission.READ_CALENDAR"
57                android:writePermission="android.permission.WRITE_CALENDAR" />
58
59        <receiver android:name="CalendarReceiver"
60            android:exported="true">
61            <intent-filter>
62                <action android:name="android.intent.action.BOOT_COMPLETED" />
63            </intent-filter>
64        </receiver>
65
66        <activity android:name="CalendarDebug" android:label="@string/calendar_info"
67            android:exported="true">
68            <intent-filter>
69                <action android:name="android.intent.action.MAIN" />
70                <category android:name="android.intent.category.DEFAULT" />
71            </intent-filter>
72        </activity>
73        <activity android:name="CalendarDebugActivity" android:label="@string/calendar_info"
74                android:exported="true"
75                android:theme="@android:style/Theme.Holo.Dialog">
76            <intent-filter>
77                <action android:name="android.intent.action.MAIN" />
78                <category android:name="android.intent.category.DEFAULT" />
79            </intent-filter>
80        </activity>
81        <receiver android:name="CalendarDebugReceiver"
82            android:exported="true">
83            <intent-filter>
84                 <action android:name="android.provider.Telephony.SECRET_CODE" />
85                 <data android:scheme="android_secret_code" android:host="225" />
86            </intent-filter>
87       </receiver>
88
89       <!-- Handles database upgrades after OTAs, then disables itself -->
90       <receiver android:name="CalendarUpgradeReceiver"
91           android:exported="true">
92           <!-- This broadcast is sent after the core system has finished
93                booting, before the home app is launched or BOOT_COMPLETED
94                is sent. -->
95           <intent-filter>
96               <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
97           </intent-filter>
98       </receiver>
99
100        <receiver android:name="CalendarProviderBroadcastReceiver"
101                  android:exported="false">
102            <intent-filter>
103                <action android:name="com.android.providers.calendar.intent.CalendarProvider2"/>
104                <category android:name="com.android.providers.calendar"/>
105            </intent-filter>
106            <intent-filter>
107                <action android:name="android.intent.action.EVENT_REMINDER"/>
108                <data android:scheme="content" />
109            </intent-filter>
110        </receiver>
111
112        <service android:name="CalendarProviderJobService"
113                 android:exported="false"
114                 android:permission="android.permission.BIND_JOB_SERVICE" />
115
116    </application>
117</manifest>
118