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