The Android Open Source Project | cf013ec | 2009-03-03 19:32:38 -0800 | [diff] [blame] | 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 |
Ken Shirriff | 99fec79 | 2010-01-21 15:22:03 -0800 | [diff] [blame] | 7 | |
The Android Open Source Project | cf013ec | 2009-03-03 19:32:38 -0800 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Ken Shirriff | 99fec79 | 2010-01-21 15:22:03 -0800 | [diff] [blame] | 9 | |
The Android Open Source Project | cf013ec | 2009-03-03 19:32:38 -0800 | [diff] [blame] | 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" /> |
Fred Quintana | a02c60c | 2009-07-22 20:01:52 -0700 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.USE_CREDENTIALS" /> |
| 28 | <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> |
The Android Open Source Project | cf013ec | 2009-03-03 19:32:38 -0800 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.READ_SYNC_STATS" /> |
Fred Quintana | 2d873ad | 2009-08-17 13:05:50 -0700 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> |
| 31 | <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> |
The Android Open Source Project | cf013ec | 2009-03-03 19:32:38 -0800 | [diff] [blame] | 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" /> |
Jeff Hamilton | 1168e28 | 2010-02-16 18:30:21 -0600 | [diff] [blame] | 35 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
Michael Chan | 9774e10 | 2011-03-09 02:27:12 -0800 | [diff] [blame] | 36 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
The Android Open Source Project | cf013ec | 2009-03-03 19:32:38 -0800 | [diff] [blame] | 37 | |
Fabrice Di Meglio | 9b6911d | 2010-02-18 10:18:46 -0800 | [diff] [blame] | 38 | <application android:label="@string/calendar_storage" |
The Android Open Source Project | cf013ec | 2009-03-03 19:32:38 -0800 | [diff] [blame] | 39 | android:icon="@drawable/app_icon"> |
| 40 | <!-- TODO: Remove dependency of application on the test runner |
| 41 | (android.test) library. --> |
| 42 | <uses-library android:name="android.test.runner" /> |
Ken Shirriff | a969e94 | 2009-10-19 14:06:00 -0700 | [diff] [blame] | 43 | |
Ken Shirriff | 8446e6f | 2010-01-22 13:44:16 -0800 | [diff] [blame] | 44 | <provider android:name="CalendarProvider2" android:authorities="com.android.calendar" |
Ken Shirriff | a969e94 | 2009-10-19 14:06:00 -0700 | [diff] [blame] | 45 | android:label="@string/provider_label" |
| 46 | android:multiprocess="false" |
Nick Kralevich | e4c1121 | 2012-07-28 14:22:16 -0700 | [diff] [blame^] | 47 | android:exported="true" |
Ken Shirriff | a969e94 | 2009-10-19 14:06:00 -0700 | [diff] [blame] | 48 | android:readPermission="android.permission.READ_CALENDAR" |
| 49 | android:writePermission="android.permission.WRITE_CALENDAR" /> |
Ken Shirriff | a969e94 | 2009-10-19 14:06:00 -0700 | [diff] [blame] | 50 | |
Mason Tang | a84cc39 | 2010-06-18 12:23:13 -0700 | [diff] [blame] | 51 | <!-- This is used to keep the provider alive long enough to send update |
| 52 | intent broadcasts. --> |
| 53 | <service android:name=".EmptyService" /> |
Andy McFadden | 1d557af | 2011-10-26 10:00:03 -0700 | [diff] [blame] | 54 | <!-- This is used to keep the provider alive long enough to clean up scheduled |
| 55 | alarms after boot. --> |
| 56 | <service android:name=".CalendarReceiver$RemoveScheduledAlarmsEmptyService" /> |
Mason Tang | a84cc39 | 2010-06-18 12:23:13 -0700 | [diff] [blame] | 57 | |
Andy McFadden | e1ef10b | 2011-08-30 15:59:06 -0700 | [diff] [blame] | 58 | <activity android:name="CalendarContentProviderTests" android:label="Calendar Content Provider" |
| 59 | android:exported="false"> |
The Android Open Source Project | cf013ec | 2009-03-03 19:32:38 -0800 | [diff] [blame] | 60 | <intent-filter> |
| 61 | <action android:name="android.intent.action.MAIN" /> |
| 62 | <category android:name="android.intent.category.UNIT_TEST" /> |
| 63 | </intent-filter> |
| 64 | </activity> |
| 65 | <receiver android:name="CalendarReceiver"> |
| 66 | <intent-filter> |
| 67 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 68 | </intent-filter> |
| 69 | </receiver> |
Mason Tang | a84cc39 | 2010-06-18 12:23:13 -0700 | [diff] [blame] | 70 | |
Ken Shirriff | 46cb085 | 2009-06-11 22:08:32 -0700 | [diff] [blame] | 71 | <activity android:name="CalendarDebug" android:label="@string/calendar_info"> |
| 72 | <intent-filter> |
| 73 | <action android:name="android.intent.action.MAIN" /> |
| 74 | <category android:name="android.intent.category.DEFAULT" /> |
| 75 | </intent-filter> |
| 76 | </activity> |
Michael Chan | 9774e10 | 2011-03-09 02:27:12 -0800 | [diff] [blame] | 77 | <activity android:name="CalendarDebugActivity" android:label="@string/calendar_info" |
| 78 | android:theme="@android:style/Theme.Holo.Dialog"> |
| 79 | <intent-filter> |
| 80 | <action android:name="android.intent.action.MAIN" /> |
| 81 | <category android:name="android.intent.category.DEFAULT" /> |
| 82 | </intent-filter> |
| 83 | </activity> |
Ken Shirriff | 46cb085 | 2009-06-11 22:08:32 -0700 | [diff] [blame] | 84 | <receiver android:name="CalendarDebugReceiver"> |
| 85 | <intent-filter> |
| 86 | <action android:name="android.provider.Telephony.SECRET_CODE" /> |
| 87 | <data android:scheme="android_secret_code" android:host="225" /> |
| 88 | </intent-filter> |
| 89 | </receiver> |
| 90 | |
Jeff Hamilton | 25b0f0e | 2010-05-25 22:14:41 -0500 | [diff] [blame] | 91 | <!-- Handles database upgrades after OTAs, then disables itself --> |
| 92 | <receiver android:name="CalendarUpgradeReceiver"> |
| 93 | <!-- This broadcast is sent after the core system has finished |
| 94 | booting, before the home app is launched or BOOT_COMPLETED |
| 95 | is sent. --> |
| 96 | <intent-filter> |
| 97 | <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/> |
| 98 | </intent-filter> |
| 99 | </receiver> |
Ken Shirriff | 46cb085 | 2009-06-11 22:08:32 -0700 | [diff] [blame] | 100 | |
Fabrice Di Meglio | 8bb1421 | 2010-10-22 17:41:43 -0700 | [diff] [blame] | 101 | <receiver android:name="CalendarProviderBroadcastReceiver"> |
| 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 | </receiver> |
| 107 | <service android:name="CalendarProviderIntentService"/> |
| 108 | |
The Android Open Source Project | cf013ec | 2009-03-03 19:32:38 -0800 | [diff] [blame] | 109 | </application> |
| 110 | </manifest> |