2013-04-01 00:43:46 +04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-10-14 13:58:07 +03:00
|
|
|
<!--
|
2013-04-01 00:43:46 +04:00
|
|
|
ownCloud Android client application
|
|
|
|
|
|
|
|
Copyright (C) 2012 Bartek Przybylski
|
2016-06-27 14:54:50 +03:00
|
|
|
Copyright (C) 2012-2016 ownCloud Inc.
|
|
|
|
Copyright (C) 2016 Nextcloud
|
2013-04-01 00:43:46 +04:00
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
2013-04-17 14:26:13 +04:00
|
|
|
it under the terms of the GNU General Public License version 2,
|
|
|
|
as published by the Free Software Foundation.
|
2013-04-01 00:43:46 +04:00
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2015-10-14 13:58:07 +03:00
|
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
package="com.owncloud.android"
|
2016-12-03 15:23:47 +03:00
|
|
|
android:versionCode="10040004"
|
|
|
|
android:versionName="1.4.0 RC4">
|
2013-04-01 00:43:46 +04:00
|
|
|
|
2015-10-14 13:58:07 +03:00
|
|
|
<uses-sdk
|
|
|
|
android:minSdkVersion="14"
|
2016-10-26 23:56:30 +03:00
|
|
|
android:targetSdkVersion="24" />
|
2013-04-01 00:43:46 +04:00
|
|
|
|
2016-02-16 15:59:49 +03:00
|
|
|
<!-- GET_ACCOUNTS is needed for API < 23.
|
|
|
|
For API >= 23 results in the addition of CONTACTS group to the list of permissions that may be
|
|
|
|
dynamically disabled or enabled by the user after installation; but it is not important,
|
|
|
|
since GET_ACCOUNTS is an special case, the permission is not really needed to access accounts
|
|
|
|
owned by the app, our use case.
|
|
|
|
See note in http://developer.android.com/intl/es/reference/android/Manifest.permission.html#GET_ACCOUNTS -->
|
2013-04-01 00:43:46 +04:00
|
|
|
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
2016-02-16 15:59:49 +03:00
|
|
|
|
|
|
|
<!-- USE_CREDENTIALS, MANAGE_ACCOUNTS and AUTHENTICATE_ACCOUNTS are needed for API < 23.
|
|
|
|
In API >= 23 the do not exist anymore -->
|
2013-04-01 00:43:46 +04:00
|
|
|
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
|
|
|
|
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
|
|
|
|
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
|
2016-02-16 15:59:49 +03:00
|
|
|
|
|
|
|
<!-- WRITE_EXTERNAL_STORAGE may be enabled or disabled by the user after installation in
|
|
|
|
API >= 23; the app needs to handle this -->
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
|
|
|
|
<!-- Next permissions are always approved in installation time,
|
|
|
|
the apps needs to do nothing special in runtime -->
|
2013-04-01 00:43:46 +04:00
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
|
|
<uses-permission android:name="android.permission.READ_SYNC_STATS" />
|
|
|
|
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
|
|
|
|
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
|
|
|
|
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
2015-10-14 13:58:07 +03:00
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
2013-04-01 00:43:46 +04:00
|
|
|
|
2015-12-07 19:24:30 +03:00
|
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
|
|
|
2013-04-01 00:43:46 +04:00
|
|
|
<application
|
2013-10-17 18:54:43 +04:00
|
|
|
android:name=".MainApp"
|
2016-06-09 17:46:58 +03:00
|
|
|
android:icon="@mipmap/ic_launcher"
|
2013-04-01 00:43:46 +04:00
|
|
|
android:label="@string/app_name"
|
2016-03-23 17:47:06 +03:00
|
|
|
android:theme="@style/Theme.ownCloud.Toolbar"
|
2016-07-02 17:57:15 +03:00
|
|
|
android:manageSpaceActivity="com.owncloud.android.ui.activity.ManageSpaceActivity">
|
2013-04-01 00:43:46 +04:00
|
|
|
<activity
|
|
|
|
android:name=".ui.activity.FileDisplayActivity"
|
2016-03-23 17:47:06 +03:00
|
|
|
android:label="@string/app_name"
|
|
|
|
android:theme="@style/Theme.ownCloud.Toolbar.Drawer">
|
2013-04-01 00:43:46 +04:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
2015-10-14 13:58:07 +03:00
|
|
|
|
2013-04-01 00:43:46 +04:00
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2016-03-25 00:17:04 +03:00
|
|
|
<activity android:name=".ui.activity.ManageAccountsActivity" />
|
2016-09-04 00:13:34 +03:00
|
|
|
<activity android:name=".ui.activity.ParticipateActivity" />
|
2016-09-20 02:04:48 +03:00
|
|
|
<activity android:name=".ui.activity.FolderSyncActivity" />
|
2015-10-14 13:58:07 +03:00
|
|
|
<activity android:name=".ui.activity.UploadFilesActivity" />
|
2016-05-18 13:15:50 +03:00
|
|
|
<activity android:name=".ui.activity.ReceiveExternalFilesActivity"
|
2016-09-20 02:04:48 +03:00
|
|
|
|
2016-04-20 14:47:27 +03:00
|
|
|
android:taskAffinity=""
|
2015-11-09 20:24:57 +03:00
|
|
|
android:excludeFromRecents="true"
|
2016-06-20 23:57:16 +03:00
|
|
|
android:theme="@style/Theme.ownCloud.NoActionBar">
|
2016-08-15 17:06:24 +03:00
|
|
|
<activity android:name=".ui.activity.LocalDirectorySelectorActivity" />
|
2015-11-09 00:42:53 +03:00
|
|
|
<activity android:name=".ui.activity.StorageMigrationActivity" />
|
2013-04-01 00:43:46 +04:00
|
|
|
<intent-filter>
|
2015-10-14 13:58:07 +03:00
|
|
|
<action android:name="android.intent.action.SEND" />
|
2013-04-01 00:43:46 +04:00
|
|
|
|
2015-10-14 13:58:07 +03:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
2013-04-01 00:43:46 +04:00
|
|
|
|
2015-10-14 13:58:07 +03:00
|
|
|
<data android:mimeType="*/*" />
|
2013-04-01 00:43:46 +04:00
|
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
2015-10-14 13:58:07 +03:00
|
|
|
<action android:name="android.intent.action.SEND_MULTIPLE" />
|
2013-04-01 00:43:46 +04:00
|
|
|
|
2015-10-14 13:58:07 +03:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
2014-01-31 13:43:25 +04:00
|
|
|
|
2015-10-14 13:58:07 +03:00
|
|
|
<data android:mimeType="*/*" />
|
2014-10-24 00:34:25 +04:00
|
|
|
</intent-filter>
|
2013-04-01 00:43:46 +04:00
|
|
|
</activity>
|
|
|
|
<activity
|
|
|
|
android:name=".ui.activity.Preferences"
|
|
|
|
android:theme="@style/Theme.ownCloud" >
|
|
|
|
</activity>
|
2015-10-14 13:58:07 +03:00
|
|
|
<activity
|
2015-08-06 20:04:22 +03:00
|
|
|
android:name=".ui.preview.PreviewImageActivity"
|
2015-10-14 13:58:07 +03:00
|
|
|
android:theme="@style/Theme.ownCloud.Overlay" />
|
|
|
|
<activity
|
2014-02-26 14:05:25 +04:00
|
|
|
android:name=".ui.preview.PreviewVideoActivity"
|
2014-10-24 00:34:25 +04:00
|
|
|
android:label="@string/app_name"
|
2015-10-14 13:58:07 +03:00
|
|
|
android:theme="@style/Theme.ownCloud.Fullscreen" />
|
2013-04-01 00:43:46 +04:00
|
|
|
|
|
|
|
<service
|
2013-04-25 21:39:22 +04:00
|
|
|
android:name=".authentication.AccountAuthenticatorService"
|
2015-10-14 13:58:07 +03:00
|
|
|
android:exported="true" >
|
|
|
|
<intent-filter android:priority="100" >
|
2013-04-01 00:43:46 +04:00
|
|
|
<action android:name="android.accounts.AccountAuthenticator" />
|
|
|
|
</intent-filter>
|
|
|
|
|
|
|
|
<meta-data
|
|
|
|
android:name="android.accounts.AccountAuthenticator"
|
|
|
|
android:resource="@xml/authenticator" />
|
|
|
|
</service>
|
2016-09-22 21:14:25 +03:00
|
|
|
<service android:name=".services.observer.SyncedFolderObserverService"/>
|
2013-04-01 00:43:46 +04:00
|
|
|
<service
|
|
|
|
android:name=".syncadapter.FileSyncService"
|
2015-10-14 13:58:07 +03:00
|
|
|
android:exported="true" >
|
2013-04-01 00:43:46 +04:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.content.SyncAdapter" />
|
|
|
|
</intent-filter>
|
|
|
|
|
|
|
|
<meta-data
|
|
|
|
android:name="android.content.SyncAdapter"
|
|
|
|
android:resource="@xml/syncadapter_files" />
|
|
|
|
</service>
|
2016-09-25 22:51:13 +03:00
|
|
|
<service
|
|
|
|
android:name=".services.SyncedFolderJobService"
|
|
|
|
android:permission="android.permission.BIND_JOB_SERVICE"
|
|
|
|
android:exported="true"/>
|
2013-04-01 00:43:46 +04:00
|
|
|
|
|
|
|
<provider
|
|
|
|
android:name=".providers.FileContentProvider"
|
2013-10-17 18:54:43 +04:00
|
|
|
android:authorities="@string/authority"
|
2013-04-01 00:43:46 +04:00
|
|
|
android:enabled="true"
|
2015-12-19 15:30:37 +03:00
|
|
|
android:exported="true"
|
2013-04-01 00:43:46 +04:00
|
|
|
android:label="@string/sync_string_files"
|
2015-10-14 13:58:07 +03:00
|
|
|
android:syncable="true" />
|
2013-04-01 00:43:46 +04:00
|
|
|
|
2015-10-19 16:12:24 +03:00
|
|
|
<provider
|
|
|
|
android:name=".providers.UsersAndGroupsSearchProvider"
|
2016-07-18 00:38:36 +03:00
|
|
|
android:authorities="com.nextcloud.android.providers.UsersAndGroupsSearchProvider"
|
2015-10-19 16:12:24 +03:00
|
|
|
android:enabled="true"
|
|
|
|
android:exported="false"
|
|
|
|
android:label="@string/search_users_and_groups_hint" />
|
2013-04-01 00:43:46 +04:00
|
|
|
|
2015-12-19 15:30:37 +03:00
|
|
|
<provider
|
|
|
|
android:name="org.nextcloud.providers.DocumentsStorageProvider"
|
2016-07-15 01:42:33 +03:00
|
|
|
android:authorities="@string/document_provider_authority"
|
2015-12-19 15:30:37 +03:00
|
|
|
android:exported="true"
|
|
|
|
android:grantUriPermissions="true"
|
|
|
|
android:permission="android.permission.MANAGE_DOCUMENTS"
|
|
|
|
android:enabled="@bool/atLeastKitKat">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.content.action.DOCUMENTS_PROVIDER" />
|
|
|
|
</intent-filter>
|
|
|
|
</provider>
|
2013-04-01 00:43:46 +04:00
|
|
|
|
2016-08-31 13:57:24 +03:00
|
|
|
<!-- new provider used to generate URIs without file:// scheme (forbidden from Android 7) -->
|
|
|
|
<provider
|
|
|
|
android:name="android.support.v4.content.FileProvider"
|
|
|
|
android:authorities="@string/file_provider_authority"
|
|
|
|
android:grantUriPermissions="true"
|
|
|
|
android:exported="false">
|
|
|
|
<meta-data
|
|
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
|
|
android:resource="@xml/exposed_filepaths" />
|
|
|
|
</provider>
|
|
|
|
|
2013-04-01 00:43:46 +04:00
|
|
|
<activity
|
2013-04-25 21:39:22 +04:00
|
|
|
android:name=".authentication.AuthenticatorActivity"
|
2013-04-01 00:43:46 +04:00
|
|
|
android:exported="true"
|
2015-10-14 13:58:07 +03:00
|
|
|
android:launchMode="singleTask"
|
2016-09-27 01:32:46 +03:00
|
|
|
android:theme="@style/Theme.ownCloud.noActionBar.Login">
|
2013-04-25 21:39:22 +04:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.VIEW" />
|
2014-10-24 00:34:25 +04:00
|
|
|
|
2013-04-25 21:39:22 +04:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
2014-10-24 00:34:25 +04:00
|
|
|
|
2013-04-25 21:39:22 +04:00
|
|
|
<data android:scheme="@string/oauth2_redirect_scheme" />
|
|
|
|
</intent-filter>
|
2013-04-01 00:43:46 +04:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="com.owncloud.android.workaround.accounts.CREATE" />
|
2015-10-14 13:58:07 +03:00
|
|
|
|
2013-04-01 00:43:46 +04:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
2016-09-08 20:34:39 +03:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
2016-09-19 17:55:35 +03:00
|
|
|
<data android:scheme="@string/login_data_own_scheme" android:host="login"/>
|
2016-09-08 20:34:39 +03:00
|
|
|
</intent-filter>
|
2013-04-01 00:43:46 +04:00
|
|
|
</activity>
|
|
|
|
|
2014-01-30 20:58:35 +04:00
|
|
|
<service android:name=".services.OperationsService" />
|
2013-04-15 15:12:04 +04:00
|
|
|
<service android:name=".files.services.FileDownloader" />
|
|
|
|
<service android:name=".files.services.FileUploader" />
|
|
|
|
<service android:name=".media.MediaService" />
|
2014-10-24 00:34:25 +04:00
|
|
|
|
2015-05-04 12:41:09 +03:00
|
|
|
<activity android:name=".ui.activity.PassCodeActivity" />
|
2013-04-01 00:43:46 +04:00
|
|
|
<activity android:name=".ui.activity.ConflictsResolveActivity"/>
|
|
|
|
<activity android:name=".ui.activity.GenericExplanationActivity"/>
|
|
|
|
<activity android:name=".ui.activity.ErrorsWhileCopyingHandlerActivity"/>
|
2013-04-15 15:12:04 +04:00
|
|
|
|
2013-04-01 00:43:46 +04:00
|
|
|
<activity android:name=".ui.activity.LogHistoryActivity"/>
|
2014-11-07 17:26:21 +03:00
|
|
|
|
|
|
|
<activity android:name=".ui.errorhandling.ErrorShowActivity" />
|
2014-11-26 16:39:17 +03:00
|
|
|
<activity android:name=".ui.activity.UploadListActivity" />
|
2016-09-27 01:32:46 +03:00
|
|
|
<activity android:name=".ui.activity.WhatsNewActivity"
|
|
|
|
android:theme="@style/Theme.ownCloud.noActionBar.Login" />
|
2015-11-26 18:25:45 +03:00
|
|
|
|
2014-11-25 18:59:34 +03:00
|
|
|
<receiver android:name=".files.services.ConnectivityActionReceiver"
|
|
|
|
android:enabled="true" android:label="ConnectivityActionReceiver">
|
|
|
|
<intent-filter>
|
2016-03-03 14:52:16 +03:00
|
|
|
<!--action android:name="android.net.conn.CONNECTIVITY_CHANGE"/-->
|
2014-11-25 18:59:34 +03:00
|
|
|
<action android:name="android.net.wifi.STATE_CHANGE"/>
|
2016-07-30 19:38:21 +03:00
|
|
|
<action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>
|
|
|
|
<action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/>
|
2014-11-25 18:59:34 +03:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
2014-11-07 17:26:21 +03:00
|
|
|
<receiver android:name=".files.InstantUploadBroadcastReceiver">
|
2013-04-01 00:43:46 +04:00
|
|
|
<intent-filter>
|
2015-10-14 13:58:07 +03:00
|
|
|
|
2013-08-05 18:34:21 +04:00
|
|
|
<!-- unofficially supported by many Android phones but not by HTC devices: -->
|
2013-04-01 00:43:46 +04:00
|
|
|
<action android:name="com.android.camera.NEW_PICTURE" />
|
2014-10-24 00:34:25 +04:00
|
|
|
<!-- officially supported since Android 4.0 (SDK 14, works even for HTC devices): -->
|
2013-05-01 22:06:13 +04:00
|
|
|
<action android:name="android.hardware.action.NEW_PICTURE" />
|
2015-10-14 13:58:07 +03:00
|
|
|
|
2013-04-01 00:43:46 +04:00
|
|
|
<data android:mimeType="image/*" />
|
|
|
|
</intent-filter>
|
2013-05-01 22:06:13 +04:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.hardware.action.NEW_VIDEO" />
|
2015-10-14 13:58:07 +03:00
|
|
|
|
2013-05-01 22:06:13 +04:00
|
|
|
<data android:mimeType="video/*" />
|
|
|
|
</intent-filter>
|
2013-04-01 00:43:46 +04:00
|
|
|
</receiver>
|
2015-10-14 13:58:07 +03:00
|
|
|
<receiver android:name=".files.BootupBroadcastReceiver" >
|
2013-04-01 00:43:46 +04:00
|
|
|
<intent-filter>
|
2014-10-24 00:34:25 +04:00
|
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
2013-04-01 00:43:46 +04:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
2014-09-04 20:04:55 +04:00
|
|
|
|
2015-10-14 13:58:07 +03:00
|
|
|
<service android:name=".services.observer.FileObserverService" />
|
2014-11-18 16:51:49 +03:00
|
|
|
|
2014-10-24 00:34:25 +04:00
|
|
|
<activity
|
2015-10-14 13:58:07 +03:00
|
|
|
android:name=".ui.activity.CopyToClipboardActivity"
|
|
|
|
android:icon="@drawable/copy_link"
|
|
|
|
android:label="@string/copy_link" />
|
|
|
|
<activity
|
|
|
|
android:name=".ui.activity.FolderPickerActivity"
|
|
|
|
android:label="@string/app_name" />
|
|
|
|
<activity
|
|
|
|
android:name=".ui.activity.UploadPathActivity"
|
|
|
|
android:label="@string/app_name" />
|
|
|
|
<activity
|
|
|
|
android:name=".ui.activity.ShareActivity"
|
|
|
|
android:label="@string/share_dialog_title"
|
2016-03-21 21:43:18 +03:00
|
|
|
android:theme="@style/Theme.ownCloud.Dialog.NoTitle"
|
2015-10-20 14:18:47 +03:00
|
|
|
android:launchMode="singleTop"
|
|
|
|
android:windowSoftInputMode="adjustResize" >
|
2015-10-15 20:24:16 +03:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.SEARCH" />
|
|
|
|
</intent-filter>
|
|
|
|
<meta-data android:name="android.app.searchable"
|
2015-10-19 16:12:24 +03:00
|
|
|
android:resource="@xml/users_and_groups_searchable"/>
|
2015-10-14 13:58:07 +03:00
|
|
|
</activity>
|
2016-07-02 17:58:30 +03:00
|
|
|
<activity android:name=".ui.activity.ManageSpaceActivity"
|
|
|
|
android:label="@string/manage_space_title"
|
|
|
|
android:theme="@style/Theme.ownCloud" />
|
2013-04-01 00:43:46 +04:00
|
|
|
</application>
|
2013-05-06 12:48:43 +04:00
|
|
|
|
2013-04-01 00:43:46 +04:00
|
|
|
</manifest>
|