gradle: adjust for and raise compileSdk to 33

Signed-off-by: SlipkHunter <abrito025@gmail.com>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
SlipkHunter 2023-01-19 20:34:47 -03:00 committed by Harsh Shandilya
parent f8690ca215
commit 713947e432
No known key found for this signature in database
3 changed files with 15 additions and 8 deletions

View File

@ -6,7 +6,7 @@ version wireguardVersionName
group groupName
android {
compileSdkVersion 31
compileSdk 33
ndkVersion '21.4.7075529'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8

View File

@ -12,7 +12,7 @@ group groupName
final def keystorePropertiesFile = rootProject.file("keystore.properties")
android {
compileSdkVersion 31
compileSdk 33
buildFeatures {
buildConfig = true
dataBinding = true

View File

@ -20,6 +20,9 @@
<uses-feature
android:name="android.hardware.camera.any"
android:required="false" />
<uses-feature
android:name="android.hardware.camera"
android:required="false" />
<permission
android:name="${applicationId}.permission.CONTROL_TUNNELS"
@ -43,7 +46,7 @@
android:theme="@style/NoBackgroundTheme"
android:excludeFromRecents="true"/>
<activity android:name=".activity.MainActivity">
<activity android:name=".activity.MainActivity" android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@ -57,7 +60,8 @@
<activity
android:name=".activity.TvMainActivity"
android:theme="@style/TvTheme">
android:theme="@style/TvTheme"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
@ -81,7 +85,8 @@
<activity
android:name=".activity.LogViewerActivity"
android:label="@string/log_viewer_title">
android:label="@string/log_viewer_title"
android:exported="false">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
@ -93,7 +98,7 @@
android:exported="false"
android:grantUriPermissions="true" />
<receiver android:name=".BootShutdownReceiver">
<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" />
@ -102,7 +107,8 @@
<receiver
android:name=".model.TunnelManager$IntentReceiver"
android:permission="${applicationId}.permission.CONTROL_TUNNELS">
android:permission="${applicationId}.permission.CONTROL_TUNNELS"
android:exported="true">
<intent-filter>
<action android:name="com.wireguard.android.action.REFRESH_TUNNEL_STATES" />
<action android:name="com.wireguard.android.action.SET_TUNNEL_UP" />
@ -113,7 +119,8 @@
<service
android:name=".QuickTileService"
android:icon="@drawable/ic_tile"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
android:exported="true">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />