NetGuard/app/src/main/AndroidManifest.xml

262 lines
10 KiB
XML
Raw Normal View History

2015-10-24 18:01:55 +00:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2017-06-17 08:52:22 +00:00
xmlns:tools="http://schemas.android.com/tools"
package="eu.faircode.netguard">
2017-03-23 07:29:32 +00:00
2017-06-17 08:52:22 +00:00
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.VIBRATE" />
2018-10-12 13:31:54 +00:00
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
2015-12-08 13:18:06 +00:00
<!-- http://developer.android.com/guide/topics/security/permissions.html#normal-dangerous -->
2015-10-24 18:01:55 +00:00
2016-07-24 16:38:59 +00:00
<permission
android:name="eu.faircode.netguard.permission.ADMIN"
android:description="@string/app_description"
android:label="@string/app_name"
2017-06-17 08:52:22 +00:00
android:protectionLevel="signature" />
2016-07-24 16:38:59 +00:00
2017-06-17 08:52:22 +00:00
<uses-permission android:name="eu.faircode.netguard.permission.ADMIN" />
2016-07-24 16:38:59 +00:00
2015-11-29 10:37:19 +00:00
<uses-feature
android:name="android.hardware.wifi"
2017-06-17 08:52:22 +00:00
android:required="false" />
2015-11-29 10:37:19 +00:00
<uses-feature
android:name="android.hardware.telephony"
2017-06-17 08:52:22 +00:00
android:required="false" />
2015-11-29 10:37:19 +00:00
<uses-feature
android:name="android.software.app_widgets"
2017-06-17 08:52:22 +00:00
android:required="false" />
<uses-feature
android:name="android.hardware.touchscreen"
2017-06-17 08:52:22 +00:00
android:required="false" />
2015-11-29 10:37:19 +00:00
2015-10-24 18:01:55 +00:00
<application
android:name="ApplicationEx"
2015-10-24 18:01:55 +00:00
android:allowBackup="false"
2017-08-04 14:29:08 +00:00
android:appCategory="productivity"
android:description="@string/app_description"
2015-10-24 18:01:55 +00:00
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
2016-11-06 15:30:40 +00:00
android:roundIcon="@mipmap/ic_launcher_round"
2015-10-24 18:01:55 +00:00
android:supportsRtl="true"
2016-11-06 15:30:40 +00:00
android:theme="@style/AppThemeTeal"
tools:ignore="ManifestResource">
2015-11-04 22:44:17 +00:00
<meta-data
android:name="android.max_aspect"
2017-06-17 08:52:22 +00:00
android:value="2.1" />
2016-07-24 18:30:15 +00:00
<activity
android:name=".ActivityMain"
2015-10-25 12:26:15 +00:00
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
2016-07-22 11:52:08 +00:00
android:launchMode="singleTop"
android:resizeableActivity="true">
2015-10-24 18:01:55 +00:00
<intent-filter>
2017-06-17 08:52:22 +00:00
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
2015-10-24 18:01:55 +00:00
</intent-filter>
2015-11-14 08:57:10 +00:00
<intent-filter>
2017-06-17 08:52:22 +00:00
<action android:name="android.intent.action.MANAGE_NETWORK_USAGE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
2018-02-07 14:34:17 +00:00
<!-- intent-filter android:label="@string/app_name">
2017-06-17 08:52:22 +00:00
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="www.netguard.me"
android:pathPrefix="/"
android:scheme="https" />
2018-02-07 14:34:17 +00:00
</intent-filter-->
2016-10-20 06:52:15 +00:00
<meta-data
android:name="android.app.shortcuts"
2017-06-17 08:52:22 +00:00
android:resource="@xml/shortcuts" />
2015-10-24 18:01:55 +00:00
</activity>
2015-11-04 22:44:17 +00:00
<activity
android:name=".ActivitySettings"
android:configChanges="orientation|screenSize"
2016-01-23 16:37:56 +00:00
android:label="@string/menu_settings"
android:parentActivityName=".ActivityMain">
2016-07-20 04:50:24 +00:00
<intent-filter>
2017-06-17 08:52:22 +00:00
<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
2016-07-20 04:50:24 +00:00
</intent-filter>
<intent-filter>
2017-06-17 08:52:22 +00:00
<action android:name="android.intent.action.APPLICATION_PREFERENCES" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
2017-06-17 08:52:22 +00:00
android:value=".ActivityMain" />
</activity>
2015-11-04 22:44:17 +00:00
2016-01-05 12:40:02 +00:00
<activity
android:name=".ActivityLog"
android:configChanges="orientation|screenSize"
2016-01-23 16:37:56 +00:00
android:label="@string/menu_log"
android:parentActivityName=".ActivityMain">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
2017-06-17 08:52:22 +00:00
android:value=".ActivityMain" />
</activity>
2016-01-05 12:40:02 +00:00
2015-12-30 08:58:21 +00:00
<activity
android:name=".ActivityPro"
android:configChanges="orientation|screenSize"
android:label="@string/title_pro"
android:parentActivityName=".ActivityMain">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
2017-06-17 08:52:22 +00:00
android:value=".ActivityMain" />
</activity>
2015-12-30 08:58:21 +00:00
<activity
android:name=".ActivityDns"
android:configChanges="orientation|screenSize"
android:label="@string/setting_show_resolved"
android:parentActivityName=".ActivitySettings">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
2017-06-17 08:52:22 +00:00
android:value=".ActivitySettings" />
</activity>
2016-02-06 15:17:31 +00:00
<activity
2016-02-09 09:53:52 +00:00
android:name=".ActivityForwarding"
android:configChanges="orientation|screenSize"
android:label="@string/setting_forwarding"
android:parentActivityName=".ActivitySettings">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
2017-06-17 08:52:22 +00:00
android:value=".ActivitySettings" />
2016-02-09 09:53:52 +00:00
</activity>
<activity
android:name=".ActivityForwardApproval"
2016-02-06 15:17:31 +00:00
android:configChanges="orientation|screenSize"
2015-11-22 22:07:25 +00:00
android:label="@string/app_name"
2016-02-06 15:17:31 +00:00
android:theme="@style/AppDialog">
2015-10-24 18:01:55 +00:00
<intent-filter>
2017-06-17 08:52:22 +00:00
<action android:name="eu.faircode.netguard.START_PORT_FORWARD" />
<action android:name="eu.faircode.netguard.STOP_PORT_FORWARD" />
2015-10-24 18:01:55 +00:00
</intent-filter>
2016-02-06 15:17:31 +00:00
</activity>
2015-10-24 18:01:55 +00:00
<service
2016-03-11 06:47:52 +00:00
android:name=".ServiceSinkhole"
2016-02-06 15:17:31 +00:00
android:label="@string/app_name"
android:permission="android.permission.BIND_VPN_SERVICE">
<intent-filter>
2017-06-17 08:52:22 +00:00
<action android:name="android.net.VpnService" />
</intent-filter>
</service>
2016-09-26 07:06:08 +00:00
<service
android:name=".ServiceExternal"
android:label="@string/app_name">
<intent-filter>
2017-06-17 08:52:22 +00:00
<action android:name="eu.faircode.netguard.DOWNLOAD_HOSTS_FILE" />
2016-09-26 07:06:08 +00:00
</intent-filter>
</service>
2016-07-10 11:06:09 +00:00
<service
android:name=".ServiceTileMain"
2016-07-10 11:06:09 +00:00
android:icon="@drawable/ic_security_white_24dp"
android:label="@string/app_name"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
2017-06-17 08:52:22 +00:00
<action android:name="android.service.quicksettings.action.QS_TILE" />
2016-07-10 11:06:09 +00:00
</intent-filter>
</service>
<service
android:name=".ServiceTileGraph"
android:icon="@drawable/ic_equalizer_white_24dp"
android:label="@string/setting_stats_category"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
2017-06-17 08:52:22 +00:00
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
</service>
<service
android:name=".ServiceTileFilter"
android:icon="@drawable/ic_filter_list_white_24dp"
android:label="@string/setting_filter"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
2017-06-17 08:52:22 +00:00
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
</service>
2017-03-21 08:06:04 +00:00
<service
android:name=".ServiceTileLockdown"
android:icon="@drawable/ic_lock_outline_white_24dp"
android:label="@string/setting_lockdown"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
2017-06-17 08:52:22 +00:00
<action android:name="android.service.quicksettings.action.QS_TILE" />
2017-03-21 08:06:04 +00:00
</intent-filter>
</service>
2015-11-14 11:17:57 +00:00
<receiver
2017-11-05 14:17:09 +00:00
android:name=".ReceiverAutostart"
2015-11-22 22:07:25 +00:00
android:label="@string/app_name">
2015-10-24 18:01:55 +00:00
<intent-filter>
2017-06-17 08:52:22 +00:00
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
2015-10-24 18:01:55 +00:00
</intent-filter>
</receiver>
2015-11-07 09:19:47 +00:00
2017-11-05 14:17:09 +00:00
<receiver android:name=".ReceiverPackageRemoved">
<intent-filter>
<action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
<data android:scheme="package" />
</intent-filter>
</receiver>
2015-11-14 11:17:57 +00:00
<receiver
2017-03-23 07:29:32 +00:00
android:name=".WidgetMain"
2015-11-22 22:07:25 +00:00
android:label="@string/app_name">
2015-11-07 09:19:47 +00:00
<intent-filter>
2017-06-17 08:52:22 +00:00
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
2015-11-07 09:19:47 +00:00
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
2017-06-17 08:52:22 +00:00
android:resource="@xml/widgetmain" />
2017-03-23 07:29:32 +00:00
</receiver>
<receiver
android:name=".WidgetLockdown"
android:label="@string/setting_lockdown">
<intent-filter>
2017-06-17 08:52:22 +00:00
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
2017-03-23 07:29:32 +00:00
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
2017-06-17 08:52:22 +00:00
android:resource="@xml/widgetlockdown" />
2015-11-07 09:19:47 +00:00
</receiver>
2016-07-24 16:38:59 +00:00
<receiver
android:name=".WidgetAdmin"
android:label="@string/app_name"
android:permission="eu.faircode.netguard.permission.ADMIN">
<intent-filter>
2017-06-17 08:52:22 +00:00
<action android:name="eu.faircode.netguard.ON" />
<action android:name="eu.faircode.netguard.OFF" />
<action android:name="eu.faircode.netguard.LOCKDOWN_ON" />
<action android:name="eu.faircode.netguard.LOCKDOWN_OFF" />
2016-07-24 16:38:59 +00:00
</intent-filter>
</receiver>
2015-10-24 18:01:55 +00:00
</application>
</manifest>