summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/main/AndroidManifest.xml')
-rw-r--r--ui/src/main/AndroidManifest.xml39
1 files changed, 26 insertions, 13 deletions
diff --git a/ui/src/main/AndroidManifest.xml b/ui/src/main/AndroidManifest.xml
index 42341226..05f20984 100644
--- a/ui/src/main/AndroidManifest.xml
+++ b/ui/src/main/AndroidManifest.xml
@@ -3,7 +3,9 @@
xmlns:tools="http://schemas.android.com/tools"
android:installLocation="internalOnly">
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
+ <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
@@ -45,10 +47,12 @@
<activity
android:name=".activity.TunnelToggleActivity"
- android:theme="@style/NoBackgroundTheme"
- android:excludeFromRecents="true"/>
+ android:excludeFromRecents="true"
+ android:theme="@style/NoBackgroundTheme" />
- <activity android:name=".activity.MainActivity" android:exported="true">
+ <activity
+ android:name=".activity.MainActivity"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@@ -62,8 +66,8 @@
<activity
android:name=".activity.TvMainActivity"
- android:theme="@style/TvTheme"
- android:exported="true">
+ android:exported="true"
+ android:theme="@style/TvTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
@@ -87,8 +91,8 @@
<activity
android:name=".activity.LogViewerActivity"
- android:label="@string/log_viewer_title"
- android:exported="false">
+ android:exported="false"
+ android:label="@string/log_viewer_title">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
@@ -100,14 +104,18 @@
android:exported="false"
android:grantUriPermissions="true" />
- <receiver android:name=".BootShutdownReceiver" android:exported="true">
+ <receiver
+ android:name=".BootShutdownReceiver"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.ACTION_SHUTDOWN" />
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
- <receiver android:name=".updater.Updater$AppUpdatedReceiver" android:exported="true">
+ <receiver
+ android:name=".updater.Updater$AppUpdatedReceiver"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
</intent-filter>
@@ -115,8 +123,8 @@
<receiver
android:name=".model.TunnelManager$IntentReceiver"
- android:permission="${applicationId}.permission.CONTROL_TUNNELS"
- android:exported="true">
+ android:exported="true"
+ android:permission="${applicationId}.permission.CONTROL_TUNNELS">
<intent-filter>
<action android:name="com.wireguard.android.action.REFRESH_TUNNEL_STATES" />
<action android:name="com.wireguard.android.action.SET_TUNNEL_UP" />
@@ -126,9 +134,9 @@
<service
android:name=".QuickTileService"
+ android:exported="true"
android:icon="@drawable/ic_tile"
- android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
- android:exported="true">
+ android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
@@ -149,5 +157,10 @@
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent>
+
+ <intent>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
+ </intent>
</queries>
</manifest>