Skip to content

Commit

Permalink
fix: update AndroidManifest.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajhilje committed Aug 13, 2024
1 parent 75169ae commit b22bb59
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
8 changes: 6 additions & 2 deletions core/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,15 @@
android:exported="false"
android:permission="android.permission.BIND_VPN_SERVICE"
android:foregroundServiceType="specialUse" />
<service android:name="net.ivpn.core.vpn.local.WifiWatcherService"
android:exported="false"/>
<service
android:name="net.ivpn.core.vpn.local.WifiWatcherService"
android:exported="false"
android:foregroundServiceType="specialUse" />

<service
android:name="net.ivpn.core.vpn.AlwaysOnVpnService"
android:exported="false"
android:foregroundServiceType="specialUse"
android:permission="android.permission.BIND_VPN_SERVICE">
<intent-filter>
<action android:name="android.net.VpnService" />
Expand All @@ -128,6 +131,7 @@
android:icon="@drawable/ic_logo_sq"
android:label="@string/app_name"
android:exported="true"
android:foregroundServiceType="specialUse"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
Expand Down
7 changes: 6 additions & 1 deletion site/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@

<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

<!-- To close system dialog-->
<!-- To close system dialog-->
<uses-permission android:name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS" />

<!-- VPN <service> for API Level 34+ -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />

<application
android:name=".SiteIVPNApplication"
android:allowBackup="false"
Expand Down Expand Up @@ -39,11 +42,13 @@

<service
android:name=".updates.UpdatesService"
android:foregroundServiceType="specialUse"
android:exported="false" />

<service
android:name=".updates.UpdatesJobService"
android:exported="false"
android:foregroundServiceType="specialUse"
android:permission="android.permission.BIND_JOB_SERVICE" />
</application>

Expand Down

0 comments on commit b22bb59

Please sign in to comment.