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