blob: 291d959ad71d1fe8b6c47466ea0ff55e4f087920 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
/* //device/apps/Calendar/AndroidManifest.xml
**
** Copyright 2006, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="org.lineageos.etar"
android:installLocation="auto">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.READ_CALENDAR" />
<uses-permission android:name="android.permission.WRITE_CALENDAR" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SYSTEM_EXEMPTED" />
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
<queries>
<intent>
<action android:name="android.content.SyncAdapter" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" />
</intent>
</queries>
<application android:name="com.android.calendar.CalendarApplication"
android:requestLegacyExternalStorage="true"
android:hardwareAccelerated="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_label"
android:taskAffinity="org.lineageos.etar.task"
android:requiredAccountType="*"
android:usesCleartextTraffic="false"
android:theme="@style/CalendarAppThemeLight">
<activity
android:name="com.android.calendar.AllInOneActivity"
android:exported="true"
android:launchMode="singleTask"
android:theme="@style/CalendarTheme.WithoutActionBar"
android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.APP_CALENDAR" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="time/epoch" />
<data android:host="com.android.calendar" />
<data android:scheme="content"/>
</intent-filter>
<meta-data android:name="android.app.shortcuts"
android:resource="@xml/shortcuts" />
<meta-data android:name="org.lineageos.etar.dynamic_icons"
android:resource="@array/calendar_icons_dynamic" />
</activity>
<activity-alias android:name="com.android.calendar.LaunchActivity"
android:exported="true"
android:targetActivity="com.android.calendar.AllInOneActivity">
</activity-alias>
<activity android:name="com.android.calendar.AboutActivity">
</activity>
<activity android:name="com.android.calendar.EventInfoActivity"
android:exported="true"
android:parentActivityName="com.android.calendar.AllInOneActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/event" />
</intent-filter>
</activity>
<activity android:name="com.android.calendar.event.EditEventActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="@style/Base.CalendarAppThemeWithActionBar">
</activity>
<activity-alias android:name="com.android.calendar.EditEventActivity"
android:exported="true"
android:targetActivity="com.android.calendar.event.EditEventActivity">
<intent-filter>
<action android:name="android.intent.action.EDIT" />
<action android:name="android.intent.action.INSERT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/event" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.EDIT" />
<action android:name="android.intent.action.INSERT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.dir/event" />
</intent-filter>
</activity-alias>
<activity
android:name="com.android.calendar.GoogleCalendarUriIntentFilter"
android:exported="true"
android:configChanges="orientation|keyboardHidden"
android:label="@string/app_label"
android:theme="@android:style/Theme.NoDisplay">
<intent-filter
android:priority="50">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="www.google.com"
android:pathPrefix="/calendar/event"
android:scheme="http" />
<data
android:host="www.google.com"
android:pathPrefix="/calendar/event"
android:scheme="https" />
<data
android:host="www.google.com"
android:pathPattern="/calendar/hosted/.*/event"
android:scheme="http" />
<data
android:host="www.google.com"
android:pathPattern="/calendar/hosted/.*/event"
android:scheme="https" />
</intent-filter>
</activity>
<activity
android:name="com.android.calendar.settings.SettingsActivity"
android:label="@string/preferences_title"
android:parentActivityName="com.android.calendar.AllInOneActivity" />
<!-- Declarations for search -->
<!-- Make all activities a searchable context -->
<meta-data android:name="android.app.default_searchable"
android:value="com.android.calendar.SearchActivity"/>
<activity
android:name="com.android.calendar.SearchActivity"
android:exported="true"
android:label="@string/search_title"
android:launchMode="singleTop"
android:theme="@style/CalendarTheme.WithActionBar"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="android.intent.action.SEARCH"/>
</intent-filter>
<meta-data android:name="android.app.searchable" android:resource="@xml/searchable"/>
</activity>
<activity android:name="com.android.calendar.ImportActivity"
android:exported="true"
android:theme="@android:style/Theme.NoDisplay"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" />
<data android:scheme="file" />
<data android:mimeType="text/x-vcalendar" />
<data android:mimeType="text/calendar" />
<data android:mimeType="application/ics" />
</intent-filter>
</activity>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="org.lineageos.etar.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"/>
</provider>
<provider
android:name="androidx.startup.InitializationProvider"
android:authorities="org.lineageos.etar.androidx-startup"
android:exported="false"
tools:replace="android:authorities" />
<provider android:name="com.android.calendar.CalendarRecentSuggestionsProvider"
android:exported="false"
android:authorities="org.lineageos.etar.CalendarRecentSuggestionsProvider" />
<!-- Declarations for alerts/reminders -->
<activity
android:name="com.android.calendar.alerts.AlertActivity"
android:excludeFromRecents="true"
android:launchMode="singleInstance"
android:theme="@android:style/Theme.Holo.Dialog" />
<activity
android:name="com.android.calendar.alerts.QuickResponseActivity"
android:excludeFromRecents="true"
android:label="@string/quick_response_dialog_title"
android:launchMode="singleInstance"
android:theme="@android:style/Theme.Holo.Dialog" />
<activity
android:name="com.android.calendar.alerts.SnoozeDelayActivity"
android:excludeFromRecents="true"
android:launchMode="singleInstance"
android:theme="@android:style/Theme.Holo.Dialog" />
<receiver android:name="com.android.calendar.alerts.AlertReceiver"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.EVENT_REMINDER" />
<action android:name="android.intent.action.TIME_SET" />
<data android:scheme="content" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.LOCALE_CHANGED" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.PROVIDER_CHANGED"/>
<data android:scheme="content"/>
<data android:host="com.android.calendar"/>
</intent-filter>
</receiver>
<receiver android:name="com.android.calendar.alerts.GlobalDismissManager"
android:exported="false" />
<receiver android:name="com.android.calendar.UpgradeReceiver"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
</intent-filter>
</receiver>
<service android:name="com.android.calendar.alerts.AlertService"
android:exported="false"
android:foregroundServiceType="dataSync|systemExempted" />
<service android:name="com.android.calendar.alerts.DismissAlarmsService" />
<service android:name="com.android.calendar.alerts.SnoozeAlarmsService" />
<!-- Declarations for the widget -->
<receiver android:name="com.android.calendar.widget.CalendarAppWidgetProvider"
android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="com.android.calendar.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_info" />
</receiver>
<receiver android:name="com.android.calendar.widget.CalendarAppWidgetService$CalendarFactory"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.TIMEZONE_CHANGED"/>
<action android:name="android.intent.action.DATE_CHANGED"/>
<action android:name="android.intent.action.TIME_SET"/>
<action android:name="android.intent.action.LOCALE_CHANGED"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.PROVIDER_CHANGED"/>
<data android:scheme="content"/>
<data android:host="com.android.calendar"/>
</intent-filter>
<intent-filter>
<action android:name="com.android.calendar.APPWIDGET_SCHEDULED_UPDATE"/>
<data android:scheme="content"/>
<data android:host="com.android.calendar"/>
<data android:mimeType="vnd.android.data/update" />
</intent-filter>
</receiver>
<service android:name="com.android.calendar.widget.CalendarAppWidgetService"
android:exported="false"
android:permission="android.permission.BIND_REMOTEVIEWS">
</service>
<service android:name="com.android.calendar.AsyncQueryServiceHelper" />
</application>
</manifest>