mirror of
https://github.com/MaintainTeam/LastPipeBender.git
synced 2025-03-04 07:18:21 +03:00
This makes the app fully exit, and removes it from the Recent Apps listing with the goal of hiding whatever the user was currently watching, and/or searching for. PanicKit provides a common framework for creating "panic button" apps that can trigger actions in "panic responder" apps. In this case, the response is to lock the app, if it has been configured to do so https://dev.guardianproject.info/projects/panic/wiki
101 lines
4.2 KiB
XML
101 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
package="org.schabi.newpipe" >
|
|
<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"/>
|
|
<application
|
|
android:allowBackup="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:logo="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:theme="@style/AppTheme"
|
|
tools:ignore="AllowBackup">
|
|
<activity
|
|
android:name=".VideoItemListActivity"
|
|
android:label="@string/app_name">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".VideoItemDetailActivity"
|
|
android:label="@string/title_videoitem_detail"
|
|
android:theme="@style/AppTheme">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".VideoItemListActivity" />
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW"/>
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data
|
|
android:host="youtube.com"
|
|
android:scheme="http"
|
|
android:pathPattern="/?*#*/*watch"/>
|
|
<data
|
|
android:host="youtube.com"
|
|
android:scheme="https"
|
|
android:pathPattern="/?*#*/*watch"/>
|
|
<data
|
|
android:host="www.youtube.com"
|
|
android:scheme="http"
|
|
android:pathPattern="/?*#*/*watch"/>
|
|
<data
|
|
android:host="www.youtube.com"
|
|
android:scheme="https"
|
|
android:pathPattern="/?*#*/*watch"/>
|
|
<data
|
|
android:host="m.youtube.com"
|
|
android:scheme="http"
|
|
android:pathPattern="/?*#*/*watch"/>
|
|
<data
|
|
android:host="m.youtube.com"
|
|
android:scheme="https"
|
|
android:pathPattern="/?*#*/*watch"/>
|
|
<data
|
|
android:host="youtu.be"
|
|
android:scheme="https"
|
|
android:pathPrefix="/"/>
|
|
<data
|
|
android:host="youtu.be"
|
|
android:scheme="http"
|
|
android:pathPrefix="/"/>
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name=".PlayVideoActivity"
|
|
android:configChanges="orientation|keyboardHidden|screenSize"
|
|
android:theme="@style/VideoPlayerTheme"
|
|
android:parentActivityName=".VideoItemDetailActivity"
|
|
tools:ignore="UnusedAttribute">
|
|
</activity>
|
|
<!--TODO: make label a translatable string -->
|
|
<service
|
|
android:name=".BackgroundPlayer"
|
|
android:label="NewPipe Background Player"
|
|
android:exported="false" >
|
|
</service>
|
|
<activity
|
|
android:name=".SettingsActivity"
|
|
android:label="@string/title_activity_settings" >
|
|
</activity>
|
|
<activity
|
|
android:name=".PanicResponderActivity"
|
|
android:launchMode="singleInstance"
|
|
android:noHistory="true"
|
|
android:theme="@android:style/Theme.NoDisplay">
|
|
<intent-filter>
|
|
<action android:name="info.guardianproject.panic.action.TRIGGER" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".ExitActivity"
|
|
android:theme="@android:style/Theme.NoDisplay" />
|
|
</application>
|
|
</manifest>
|