1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-11-16 23:04:56 +00:00
NewPipe/app/src/main/AndroidManifest.xml

244 lines
9.9 KiB
XML
Raw Normal View History

2015-09-04 00:15:03 +00:00
<?xml version="1.0" encoding="utf-8"?>
2017-06-05 19:33:01 +00:00
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
2016-02-24 22:12:02 +00:00
package="org.schabi.newpipe">
2017-06-05 19:33:01 +00:00
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
2016-02-24 22:12:02 +00:00
2015-09-04 00:15:03 +00:00
<application
android:name=".App"
2015-09-04 00:15:03 +00:00
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
2016-02-24 22:12:02 +00:00
android:logo="@mipmap/ic_launcher"
android:theme="@style/OpeningTheme"
tools:ignore="AllowBackup">
2015-09-04 00:15:03 +00:00
<activity
2016-08-01 23:26:12 +00:00
android:name=".MainActivity"
android:label="@string/app_name"
android:launchMode="singleTask">
2015-09-04 00:15:03 +00:00
<intent-filter>
2017-06-05 19:33:01 +00:00
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
2015-09-04 00:15:03 +00:00
</intent-filter>
</activity>
<receiver android:name="android.support.v4.media.session.MediaButtonReceiver" >
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</receiver>
2016-02-24 22:12:02 +00:00
<activity
android:name=".player.old.PlayVideoActivity"
2015-09-04 00:15:03 +00:00
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@style/OldVideoPlayerTheme"
2017-06-05 19:33:01 +00:00
tools:ignore="UnusedAttribute"/>
2016-07-26 11:50:52 +00:00
<service
2016-03-05 15:54:24 +00:00
android:name=".player.BackgroundPlayer"
android:exported="false">
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</service>
2016-07-26 11:50:52 +00:00
<activity
android:name=".player.BackgroundPlayerActivity"
android:launchMode="singleTask"
android:label="@string/title_activity_background_player"/>
<activity
android:name=".player.PopupVideoPlayerActivity"
android:launchMode="singleTask"
android:label="@string/title_activity_popup_player"/>
2017-06-05 19:33:01 +00:00
<service
android:name=".player.PopupVideoPlayer"
android:exported="false"/>
2016-07-26 11:50:52 +00:00
<activity
android:name=".player.MainVideoPlayer"
2016-02-16 02:49:58 +00:00
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:label="@string/app_name"
android:launchMode="singleTask"/>
2016-07-26 11:50:52 +00:00
2015-09-04 00:15:03 +00:00
<activity
2016-08-02 19:17:54 +00:00
android:name=".settings.SettingsActivity"
2017-06-05 19:33:01 +00:00
android:label="@string/settings"/>
<activity
android:name=".about.AboutActivity"
android:label="@string/title_activity_about"/>
<activity
android:name=".history.HistoryActivity"
android:label="@string/title_activity_history"/>
2018-04-15 18:29:58 +00:00
<service android:name=".local.subscription.services.SubscriptionsImportService"/>
<service android:name=".local.subscription.services.SubscriptionsExportService"/>
<activity
android:name=".PanicResponderActivity"
android:launchMode="singleInstance"
android:noHistory="true"
android:theme="@android:style/Theme.NoDisplay">
<intent-filter>
2017-06-05 19:33:01 +00:00
<action android:name="info.guardianproject.panic.action.TRIGGER"/>
2016-02-24 22:12:02 +00:00
2017-06-05 19:33:01 +00:00
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<activity
android:name=".ExitActivity"
2016-02-25 02:43:13 +00:00
android:label="@string/general_error"
2017-06-05 19:33:01 +00:00
android:theme="@android:style/Theme.NoDisplay"/>
<activity android:name=".report.ErrorActivity"/>
2016-05-25 20:34:36 +00:00
<!-- giga get related -->
<activity
2016-09-27 19:33:26 +00:00
android:name=".download.DownloadActivity"
android:label="@string/app_name"
android:launchMode="singleTask"/>
2017-06-05 19:33:01 +00:00
<service android:name="us.shandian.giga.service.DownloadManagerService"/>
<activity
android:name=".util.FilePickerActivityHelper"
android:label="@string/app_name"
android:theme="@style/FilePickerThemeDark">
<intent-filter>
<action android:name="android.intent.action.GET_CONTENT" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".ReCaptchaActivity"
2017-06-05 19:33:01 +00:00
android:label="@string/reCaptchaActivity"/>
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/nnf_provider_paths"/>
</provider>
2017-02-27 20:14:03 +00:00
<activity
android:name=".RouterActivity"
android:excludeFromRecents="true"
2018-04-07 18:36:52 +00:00
android:label="@string/preferred_open_action_share_menu_title"
android:taskAffinity=""
2018-01-23 00:40:00 +00:00
android:theme="@style/RouterActivityThemeDark">
<!-- Youtube filter -->
2017-02-27 20:14:03 +00:00
<intent-filter>
2017-06-05 19:33:01 +00:00
<action android:name="android.intent.action.VIEW"/>
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH"/>
<action android:name="android.nfc.action.NDEF_DISCOVERED"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="http"/>
<data android:scheme="https"/>
<data android:host="youtube.com"/>
<data android:host="m.youtube.com"/>
<data android:host="www.youtube.com"/>
2017-02-27 20:14:03 +00:00
<!-- video prefix -->
2017-06-05 19:33:01 +00:00
<data android:pathPrefix="/v/"/>
<data android:pathPrefix="/embed/"/>
<data android:pathPrefix="/watch"/>
<data android:pathPrefix="/attribution_link"/>
2017-02-27 20:14:03 +00:00
<!-- channel prefix -->
<data android:pathPrefix="/channel/"/>
<data android:pathPrefix="/user/"/>
<!-- playlist prefix -->
<data android:pathPrefix="/playlist"/>
2017-02-27 20:14:03 +00:00
</intent-filter>
<intent-filter>
2017-06-05 19:33:01 +00:00
<action android:name="android.intent.action.VIEW"/>
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH"/>
<action android:name="android.nfc.action.NDEF_DISCOVERED"/>
2017-02-27 20:14:03 +00:00
2017-06-05 19:33:01 +00:00
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
2017-02-27 20:14:03 +00:00
2017-06-05 19:33:01 +00:00
<data android:scheme="http"/>
<data android:scheme="https"/>
<data android:host="youtu.be"/>
<data android:pathPrefix="/"/>
2017-02-27 20:14:03 +00:00
</intent-filter>
<intent-filter>
2017-06-05 19:33:01 +00:00
<action android:name="android.intent.action.VIEW"/>
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH"/>
<action android:name="android.nfc.action.NDEF_DISCOVERED"/>
2017-02-27 20:14:03 +00:00
2017-06-05 19:33:01 +00:00
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
2017-02-27 20:14:03 +00:00
2017-06-05 19:33:01 +00:00
<data android:scheme="vnd.youtube"/>
<data android:scheme="vnd.youtube.launch"/>
2017-02-27 20:14:03 +00:00
</intent-filter>
2018-01-23 00:40:00 +00:00
<!-- Hooktube filter -->
<intent-filter>
2017-06-05 19:33:01 +00:00
<action android:name="android.intent.action.VIEW"/>
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH"/>
<action android:name="android.nfc.action.NDEF_DISCOVERED"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="http"/>
<data android:scheme="https"/>
<data android:host="hooktube.com"/>
<data android:host="*.hooktube.com"/>
<!-- video prefix -->
2017-06-05 19:33:01 +00:00
<data android:pathPrefix="/v/"/>
<data android:pathPrefix="/embed/"/>
<data android:pathPrefix="/watch"/>
2018-01-23 00:40:00 +00:00
<!-- channel prefix -->
<data android:pathPrefix="/channel/"/>
<data android:pathPrefix="/user/"/>
</intent-filter>
<!-- Soundcloud filter -->
<intent-filter>
2017-06-05 19:33:01 +00:00
<action android:name="android.intent.action.VIEW"/>
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH"/>
<action android:name="android.nfc.action.NDEF_DISCOVERED"/>
2017-06-05 19:33:01 +00:00
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
2017-06-05 19:33:01 +00:00
<data android:scheme="http"/>
<data android:scheme="https"/>
<data android:host="soundcloud.com"/>
<data android:host="m.soundcloud.com"/>
<data android:host="www.soundcloud.com"/>
2017-06-05 19:33:01 +00:00
<data android:pathPrefix="/"/>
</intent-filter>
<!-- Share filter -->
<intent-filter>
2017-06-05 19:33:01 +00:00
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="text/plain"/>
</intent-filter>
</activity>
<service
android:name=".RouterActivity$FetcherService"
android:exported="false"/>
2015-09-04 00:15:03 +00:00
</application>
</manifest>