2014-12-20 19:21:46 +00:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-03-08 22:30:03 +00:00
|
|
|
|
<!--
|
|
|
|
|
~ Copyright (c) 2013 – 2015 Ricki Hirner (bitfire web engineering).
|
|
|
|
|
~ All rights reserved. This program and the accompanying materials
|
|
|
|
|
~ are made available under the terms of the GNU Public License v3.0
|
|
|
|
|
~ which accompanies this distribution, and is available at
|
|
|
|
|
~ http://www.gnu.org/licenses/gpl.html
|
2016-01-15 00:07:56 +00:00
|
|
|
|
-->
|
|
|
|
|
<manifest package="at.bitfire.davdroid"
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:installLocation="internalOnly">
|
2014-12-20 19:21:46 +00:00
|
|
|
|
|
2015-10-20 10:56:48 +00:00
|
|
|
|
<!-- normal permissions -->
|
2016-04-06 19:04:16 +00:00
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
|
2016-01-15 00:07:56 +00:00
|
|
|
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
|
|
|
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
|
2016-09-26 20:57:45 +00:00
|
|
|
|
<uses-permission android:name="android.permission.READ_SYNC_STATS"/>
|
2016-01-15 00:07:56 +00:00
|
|
|
|
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
|
2016-08-02 16:34:39 +00:00
|
|
|
|
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
|
2015-10-19 09:57:43 +00:00
|
|
|
|
|
2016-09-02 09:57:16 +00:00
|
|
|
|
<!-- account management permissions not required for own accounts since API level 22 -->
|
|
|
|
|
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" android:maxSdkVersion="22"/>
|
|
|
|
|
<uses-permission android:name="android.permission.GET_ACCOUNTS" android:maxSdkVersion="22"/>
|
|
|
|
|
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" android:maxSdkVersion="22"/>
|
|
|
|
|
|
2016-01-15 00:07:56 +00:00
|
|
|
|
<!--
|
|
|
|
|
for writing external log files; permission only required for SDK <= 18 because since then,
|
|
|
|
|
writing to app-private directory doesn't require extra permissions
|
|
|
|
|
-->
|
2016-09-02 09:57:16 +00:00
|
|
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="18"/>
|
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18"/>
|
2014-12-20 19:21:46 +00:00
|
|
|
|
|
2015-10-20 10:56:48 +00:00
|
|
|
|
<!-- other permissions -->
|
2016-01-15 00:07:56 +00:00
|
|
|
|
<!-- android.permission-group.CONTACTS -->
|
2016-07-01 20:10:20 +00:00
|
|
|
|
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
2016-01-15 00:07:56 +00:00
|
|
|
|
<uses-permission android:name="android.permission.WRITE_CONTACTS"/>
|
|
|
|
|
<!-- android.permission-group.CALENDAR -->
|
2016-07-01 20:10:20 +00:00
|
|
|
|
<uses-permission android:name="android.permission.READ_CALENDAR"/>
|
2016-01-15 00:07:56 +00:00
|
|
|
|
<uses-permission android:name="android.permission.WRITE_CALENDAR"/>
|
2015-10-20 10:56:48 +00:00
|
|
|
|
|
|
|
|
|
<!-- ical4android declares task access permissions -->
|
2016-03-18 16:24:46 +00:00
|
|
|
|
|
2014-12-20 19:21:46 +00:00
|
|
|
|
<application
|
2016-02-24 14:56:30 +00:00
|
|
|
|
android:name=".App"
|
2016-01-15 00:07:56 +00:00
|
|
|
|
android:allowBackup="true"
|
|
|
|
|
android:fullBackupContent="false"
|
2016-09-01 20:03:38 +00:00
|
|
|
|
android:networkSecurityConfig="@xml/network_security_config"
|
2016-09-01 20:40:46 +00:00
|
|
|
|
android:icon="@mipmap/ic_launcher"
|
2014-12-20 19:21:46 +00:00
|
|
|
|
android:label="@string/app_name"
|
2016-01-15 00:07:56 +00:00
|
|
|
|
android:theme="@style/AppTheme"
|
|
|
|
|
tools:ignore="UnusedAttribute">
|
2016-03-24 18:05:58 +00:00
|
|
|
|
|
|
|
|
|
<receiver
|
|
|
|
|
android:name=".App$ReinitLoggingReceiver"
|
|
|
|
|
android:exported="false"
|
|
|
|
|
android:process=":sync">
|
|
|
|
|
<intent-filter>
|
|
|
|
|
<action android:name="at.bitfire.davdroid.REINIT_LOGGER"/>
|
|
|
|
|
</intent-filter>
|
|
|
|
|
</receiver>
|
2016-04-05 14:52:43 +00:00
|
|
|
|
<receiver
|
|
|
|
|
android:name=".AccountSettings$AppUpdatedReceiver"
|
|
|
|
|
android:exported="true">
|
|
|
|
|
<intent-filter>
|
|
|
|
|
<action android:name="android.intent.action.PACKAGE_REPLACED" />
|
|
|
|
|
<data android:scheme="package" android:path="at.bitfire.davdroid" />
|
|
|
|
|
</intent-filter>
|
|
|
|
|
</receiver>
|
2016-03-24 18:05:58 +00:00
|
|
|
|
|
2014-12-20 19:21:46 +00:00
|
|
|
|
<service
|
|
|
|
|
android:name=".syncadapter.AccountAuthenticatorService"
|
2015-08-25 19:18:29 +00:00
|
|
|
|
android:exported="false">
|
2014-12-20 19:21:46 +00:00
|
|
|
|
<intent-filter>
|
2016-01-15 00:07:56 +00:00
|
|
|
|
<action android:name="android.accounts.AccountAuthenticator"/>
|
2014-12-20 19:21:46 +00:00
|
|
|
|
</intent-filter>
|
2016-01-15 00:07:56 +00:00
|
|
|
|
|
2014-12-20 19:21:46 +00:00
|
|
|
|
<meta-data
|
|
|
|
|
android:name="android.accounts.AccountAuthenticator"
|
2016-01-15 00:07:56 +00:00
|
|
|
|
android:resource="@xml/account_authenticator"/>
|
2014-12-20 19:21:46 +00:00
|
|
|
|
</service>
|
|
|
|
|
<service
|
|
|
|
|
android:name=".syncadapter.ContactsSyncAdapterService"
|
2015-08-25 19:18:29 +00:00
|
|
|
|
android:exported="true"
|
2015-10-18 22:04:58 +00:00
|
|
|
|
android:process=":sync"
|
|
|
|
|
tools:ignore="ExportedService">
|
2014-12-20 19:21:46 +00:00
|
|
|
|
<intent-filter>
|
2016-01-15 00:07:56 +00:00
|
|
|
|
<action android:name="android.content.SyncAdapter"/>
|
2014-12-20 19:21:46 +00:00
|
|
|
|
</intent-filter>
|
2016-01-15 00:07:56 +00:00
|
|
|
|
|
2014-12-20 19:21:46 +00:00
|
|
|
|
<meta-data
|
|
|
|
|
android:name="android.content.SyncAdapter"
|
2016-01-15 00:07:56 +00:00
|
|
|
|
android:resource="@xml/sync_contacts"/>
|
2014-12-20 19:21:46 +00:00
|
|
|
|
<meta-data
|
|
|
|
|
android:name="android.provider.CONTACTS_STRUCTURE"
|
2016-01-15 00:07:56 +00:00
|
|
|
|
android:resource="@xml/contacts"/>
|
2014-12-20 19:21:46 +00:00
|
|
|
|
</service>
|
|
|
|
|
<service
|
|
|
|
|
android:name=".syncadapter.CalendarsSyncAdapterService"
|
2015-08-25 19:18:29 +00:00
|
|
|
|
android:exported="true"
|
2015-10-18 22:04:58 +00:00
|
|
|
|
android:process=":sync"
|
|
|
|
|
tools:ignore="ExportedService">
|
2014-12-20 19:21:46 +00:00
|
|
|
|
<intent-filter>
|
2016-01-15 00:07:56 +00:00
|
|
|
|
<action android:name="android.content.SyncAdapter"/>
|
2014-12-20 19:21:46 +00:00
|
|
|
|
</intent-filter>
|
2016-01-15 00:07:56 +00:00
|
|
|
|
|
2014-12-20 19:21:46 +00:00
|
|
|
|
<meta-data
|
|
|
|
|
android:name="android.content.SyncAdapter"
|
2016-01-15 00:07:56 +00:00
|
|
|
|
android:resource="@xml/sync_calendars"/>
|
2014-12-20 19:21:46 +00:00
|
|
|
|
</service>
|
2015-05-22 01:06:30 +00:00
|
|
|
|
<service
|
|
|
|
|
android:name=".syncadapter.TasksSyncAdapterService"
|
2015-08-25 19:18:29 +00:00
|
|
|
|
android:exported="true"
|
2015-10-18 22:04:58 +00:00
|
|
|
|
android:process=":sync"
|
|
|
|
|
tools:ignore="ExportedService">
|
2015-05-22 01:06:30 +00:00
|
|
|
|
<intent-filter>
|
2016-01-15 00:07:56 +00:00
|
|
|
|
<action android:name="android.content.SyncAdapter"/>
|
2015-05-22 01:06:30 +00:00
|
|
|
|
</intent-filter>
|
2016-01-15 00:07:56 +00:00
|
|
|
|
|
2015-05-22 01:06:30 +00:00
|
|
|
|
<meta-data
|
|
|
|
|
android:name="android.content.SyncAdapter"
|
2016-01-15 00:07:56 +00:00
|
|
|
|
android:resource="@xml/sync_tasks"/>
|
2015-05-22 01:06:30 +00:00
|
|
|
|
</service>
|
2016-03-24 18:05:58 +00:00
|
|
|
|
|
2016-01-19 12:51:52 +00:00
|
|
|
|
<service
|
|
|
|
|
android:name=".DavService"
|
|
|
|
|
android:enabled="true">
|
|
|
|
|
</service>
|
2016-01-19 23:39:10 +00:00
|
|
|
|
<receiver
|
|
|
|
|
android:name=".AccountsChangedReceiver"
|
|
|
|
|
android:enabled="true"
|
|
|
|
|
android:exported="true">
|
|
|
|
|
<intent-filter>
|
|
|
|
|
<action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED"/>
|
|
|
|
|
</intent-filter>
|
|
|
|
|
</receiver>
|
2016-04-10 13:41:10 +00:00
|
|
|
|
|
2014-12-20 19:21:46 +00:00
|
|
|
|
<activity
|
2016-01-15 00:07:56 +00:00
|
|
|
|
android:name=".ui.AccountsActivity"
|
|
|
|
|
android:label="@string/app_name"
|
|
|
|
|
android:theme="@style/AppTheme.NoActionBar">
|
2014-12-20 19:21:46 +00:00
|
|
|
|
<intent-filter>
|
2016-01-15 00:07:56 +00:00
|
|
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
|
|
|
<category android:name="android.intent.category.LAUNCHER"/>
|
2014-12-20 19:21:46 +00:00
|
|
|
|
</intent-filter>
|
|
|
|
|
</activity>
|
2016-03-18 16:24:46 +00:00
|
|
|
|
|
2016-03-24 12:23:28 +00:00
|
|
|
|
<activity
|
|
|
|
|
android:name=".ui.AboutActivity"
|
|
|
|
|
android:label="@string/app_name"
|
|
|
|
|
android:theme="@style/AppTheme.NoActionBar"
|
|
|
|
|
android:parentActivityName=".ui.AccountsActivity"/>
|
|
|
|
|
|
2016-03-18 16:24:46 +00:00
|
|
|
|
<activity
|
|
|
|
|
android:name=".ui.AppSettingsActivity"
|
|
|
|
|
android:label="@string/app_settings"
|
|
|
|
|
android:parentActivityName=".ui.AccountsActivity"/>
|
|
|
|
|
|
2016-04-10 13:41:10 +00:00
|
|
|
|
<activity android:name=".ui.PermissionsActivity"
|
|
|
|
|
android:label="@string/permissions_title"
|
|
|
|
|
android:parentActivityName=".ui.AccountsActivity"/>
|
|
|
|
|
|
2016-03-18 16:24:46 +00:00
|
|
|
|
<activity
|
|
|
|
|
android:name=".ui.setup.LoginActivity"
|
|
|
|
|
android:label="@string/login_title"
|
|
|
|
|
android:parentActivityName=".ui.AccountsActivity">
|
|
|
|
|
<intent-filter>
|
|
|
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
|
|
|
</intent-filter>
|
|
|
|
|
</activity>
|
|
|
|
|
|
2015-10-14 10:23:02 +00:00
|
|
|
|
<activity
|
2016-01-18 13:59:19 +00:00
|
|
|
|
android:name=".ui.AccountActivity"
|
2016-01-17 16:10:30 +00:00
|
|
|
|
android:parentActivityName=".ui.AccountsActivity">
|
2015-10-14 10:23:02 +00:00
|
|
|
|
</activity>
|
2016-02-22 13:33:55 +00:00
|
|
|
|
<activity android:name=".ui.AccountSettingsActivity"/>
|
|
|
|
|
<activity android:name=".ui.CreateAddressBookActivity"
|
2016-03-18 14:40:05 +00:00
|
|
|
|
android:label="@string/create_addressbook"/>
|
2016-02-23 17:42:50 +00:00
|
|
|
|
<activity android:name=".ui.CreateCalendarActivity"
|
2016-03-18 14:40:05 +00:00
|
|
|
|
android:label="@string/create_calendar"/>
|
2016-03-18 16:24:46 +00:00
|
|
|
|
|
2014-12-20 19:21:46 +00:00
|
|
|
|
<activity
|
2016-01-15 00:07:56 +00:00
|
|
|
|
android:name=".ui.DebugInfoActivity"
|
|
|
|
|
android:exported="true"
|
|
|
|
|
android:label="@string/debug_info_title">
|
2014-12-20 19:21:46 +00:00
|
|
|
|
</activity>
|
2016-10-17 15:45:59 +00:00
|
|
|
|
<provider
|
|
|
|
|
android:name="android.support.v4.content.FileProvider"
|
2016-10-17 21:56:45 +00:00
|
|
|
|
android:authorities="@string/authority_log_provider"
|
2016-10-17 15:45:59 +00:00
|
|
|
|
android:grantUriPermissions="true"
|
|
|
|
|
android:exported="false">
|
|
|
|
|
<meta-data
|
|
|
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
|
|
|
android:resource="@xml/log_paths" />
|
|
|
|
|
</provider>
|
|
|
|
|
|
2015-10-13 00:34:24 +00:00
|
|
|
|
|
2014-12-20 20:35:52 +00:00
|
|
|
|
</application>
|
2014-12-20 19:21:46 +00:00
|
|
|
|
|
|
|
|
|
</manifest>
|