ui: move target SDK to 31

Signed-off-by: Shahzain Ali <shahzainali93@gmail.com>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Shahzain Ali 2022-04-25 23:42:07 +05:00 committed by Harsh Shandilya
parent 5ffb1d0c36
commit 2f244771a2
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80
2 changed files with 4 additions and 3 deletions

View File

@ -6,14 +6,14 @@ version wireguardVersionName
group groupName group groupName
android { android {
compileSdkVersion 30 compileSdkVersion 31
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8
} }
defaultConfig { defaultConfig {
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 30 targetSdkVersion 31
versionCode wireguardVersionCode versionCode wireguardVersionCode
versionName wireguardVersionName versionName wireguardVersionName
} }

View File

@ -9,7 +9,8 @@
<application> <application>
<service <service
android:name="com.wireguard.android.backend.GoBackend$VpnService" android:name="com.wireguard.android.backend.GoBackend$VpnService"
android:permission="android.permission.BIND_VPN_SERVICE"> android:permission="android.permission.BIND_VPN_SERVICE"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.net.VpnService" /> <action android:name="android.net.VpnService" />
</intent-filter> </intent-filter>