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.READ_CALENDAR" /> 22 <uses-permission android:name="android.permission.WRITE_CALENDAR" /> 23 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 24 <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" /> 25 <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.cl" /> 26 <uses-permission android:name="android.permission.GET_ACCOUNTS" /> 27 <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED" /> 28 <uses-permission android:name="android.permission.USE_CREDENTIALS" /> 29 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> 30 <uses-permission android:name="android.permission.READ_SYNC_STATS" /> 31 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> 32 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> 33 <uses-permission android:name="android.permission.INTERNET" /> 34 <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_READ" /> 35 <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE" /> 36 <uses-permission android:name="android.permission.WAKE_LOCK" /> 37 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 38 <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" /> 39 40 <application android:label="@string/calendar_storage" 41 android:allowBackup="false" 42 android:icon="@drawable/app_icon" 43 android:usesCleartextTraffic="false"> 44 <!-- TODO: Remove dependency of application on the test runner 45 (android.test) library. --> 46 <uses-library android:name="android.test.runner" /> 47 48 <provider android:name="CalendarProvider2" android:authorities="com.android.calendar" 49 android:label="@string/provider_label" 50 android:multiprocess="false" 51 android:exported="true" 52 android:readPermission="android.permission.READ_CALENDAR" 53 android:writePermission="android.permission.WRITE_CALENDAR" /> 54 55 <!-- This is used to keep the provider alive long enough to send update 56 intent broadcasts. --> 57 <service android:name=".EmptyService" /> 58 <!-- This is used to keep the provider alive long enough to clean up scheduled 59 alarms after boot. --> 60 <service android:name=".CalendarReceiver$RemoveScheduledAlarmsEmptyService" /> 61 62 <activity android:name="CalendarContentProviderTests" android:label="Calendar Content Provider" 63 android:exported="false"> 64 <intent-filter> 65 <action android:name="android.intent.action.MAIN" /> 66 <category android:name="android.intent.category.UNIT_TEST" /> 67 </intent-filter> 68 </activity> 69 <receiver android:name="CalendarReceiver"> 70 <intent-filter> 71 <action android:name="android.intent.action.BOOT_COMPLETED" /> 72 </intent-filter> 73 </receiver> 74 75 <activity android:name="CalendarDebug" android:label="@string/calendar_info"> 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 <activity android:name="CalendarDebugActivity" android:label="@string/calendar_info" 82 android:theme="@android:style/Theme.Holo.Dialog"> 83 <intent-filter> 84 <action android:name="android.intent.action.MAIN" /> 85 <category android:name="android.intent.category.DEFAULT" /> 86 </intent-filter> 87 </activity> 88 <receiver android:name="CalendarDebugReceiver"> 89 <intent-filter> 90 <action android:name="android.provider.Telephony.SECRET_CODE" /> 91 <data android:scheme="android_secret_code" android:host="225" /> 92 </intent-filter> 93 </receiver> 94 95 <!-- Handles database upgrades after OTAs, then disables itself --> 96 <receiver android:name="CalendarUpgradeReceiver"> 97 <!-- This broadcast is sent after the core system has finished 98 booting, before the home app is launched or BOOT_COMPLETED 99 is sent. --> 100 <intent-filter> 101 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/> 102 </intent-filter> 103 </receiver> 104 105 <receiver android:name="CalendarProviderBroadcastReceiver" 106 android:exported="false"> 107 <intent-filter> 108 <action android:name="com.android.providers.calendar.intent.CalendarProvider2"/> 109 <category android:name="com.android.providers.calendar"/> 110 </intent-filter> 111 <intent-filter> 112 <action android:name="android.intent.action.EVENT_REMINDER"/> 113 <data android:scheme="content" /> 114 </intent-filter> 115 </receiver> 116 <service android:name="CalendarProviderIntentService"/> 117 118 </application> 119 </manifest> 120