tor-android/AndroidManifest.xml

134 lines
5.0 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2012-01-15 15:45:59 +00:00
package="org.torproject.android"
android:versionName="15.2.0-alpha-1"
android:versionCode="15200001"
2014-05-30 14:35:41 +00:00
android:installLocation="auto"
>
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="23"/>
<!--
2015-02-02 21:18:50 +00:00
<permission android:name="org.torproject.android.MANAGE_TOR"
android:label="@string/permission_manage_tor_label"
android:description="@string/permission_manage_tor_description"
android:protectionLevel="signature"/>
2015-02-14 06:55:11 +00:00
<uses-permission android:name="org.torproject.android.MANAGE_TOR"/>
-->
2015-02-02 21:18:50 +00:00
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
2015-02-14 06:55:11 +00:00
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
2015-02-02 21:18:50 +00:00
<application android:name="org.torproject.android.OrbotApp" android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:description="@string/app_description"
2012-10-25 09:49:01 +00:00
android:configChanges="locale|orientation|screenSize"
android:theme="@style/DefaultTheme"
android:allowBackup="false"
android:allowClearUserData="true"
2014-07-10 15:04:46 +00:00
android:persistent="true"
android:stopWithTask="false"
android:largeHeap="false"
2012-06-29 02:54:07 +00:00
>
2015-02-02 16:04:32 +00:00
<activity android:name=".OrbotMainActivity"
android:configChanges="orientation|screenSize"
android:excludeFromRecents="true"
android:launchMode="singleTop"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<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:scheme="bridge" />
</intent-filter>
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
2015-01-20 14:47:24 +00:00
<action android:name="org.torproject.android.REQUEST_HS_PORT" />
</intent-filter>
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
2015-01-20 14:47:24 +00:00
<action android:name="org.torproject.android.START_TOR" />
</intent-filter>
</activity>
2015-06-09 19:11:01 +00:00
2014-06-27 17:03:21 +00:00
<!--
This is for ensuring the background service still runs when/if the app is swiped away
2014-06-27 17:03:21 +00:00
-->
<activity
android:name=".service.DummyActivity"
android:theme="@android:style/Theme.Translucent"
android:enabled="true"
android:allowTaskReparenting="true"
android:noHistory="true"
android:excludeFromRecents="true"
android:alwaysRetainTaskState="false"
android:stateNotNeeded="true"
android:clearTaskOnLaunch="true"
android:finishOnTaskLaunch="true"
2015-02-02 16:04:32 +00:00
/>
<activity
android:name=".vpn.VPNEnableActivity" android:label="@string/app_name" android:exported="false"
android:theme="@android:style/Theme.Translucent"
/>
<activity android:name="org.torproject.android.ui.PromoAppsActivity" android:exported="false"/>
2015-04-03 03:11:04 +00:00
2011-10-28 15:25:12 +00:00
<activity android:name=".settings.SettingsPreferences" android:label="@string/app_name"/>
<activity android:name=".settings.AppManager" android:label="@string/app_name"/>
<service
android:name=".service.TorService"
android:enabled="true"
android:permission="android.permission.BIND_VPN_SERVICE"
android:stopWithTask="false" >
</service>
<receiver
android:name=".service.StartTorReceiver"
android:exported="true">
<intent-filter>
<action android:name="org.torproject.android.intent.action.START" />
</intent-filter>
</receiver>
<receiver android:name="org.torproject.android.OnBootReceiver"
2015-04-03 03:11:04 +00:00
android:enabled="true" android:exported="true"
>
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
2015-04-03 03:11:04 +00:00
<category android:name="android.intent.category.HOME" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
2015-04-03 03:11:04 +00:00
<category android:name="android.intent.category.HOME" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MEDIA_MOUNTED"/>
2015-04-03 03:11:04 +00:00
<category android:name="android.intent.category.HOME" />
</intent-filter>
</receiver>
<!--
<service android:name="org.torproject.android.vpn.OrbotVpnService"
android:permission="android.permission.BIND_VPN_SERVICE">
<intent-filter>
<action android:name="android.net.VpnService"/>
</intent-filter>
</service>
-->
</application>
</manifest>