diff options
author | SlipkHunter <abrito025@gmail.com> | 2023-01-19 20:34:47 -0300 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-01-20 19:54:23 +0530 |
commit | 713947e432126e0e29dcf497960e5fa0f6301e2b (patch) | |
tree | 21c638f7cd087216cca3190095f8aa77e2bd41f5 | |
parent | f8690ca21511fe9a916911b0d799388ea29c911b (diff) |
gradle: adjust for and raise compileSdk to 33
Signed-off-by: SlipkHunter <abrito025@gmail.com>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r-- | tunnel/build.gradle | 2 | ||||
-rw-r--r-- | ui/build.gradle | 2 | ||||
-rw-r--r-- | ui/src/main/AndroidManifest.xml | 19 |
3 files changed, 15 insertions, 8 deletions
diff --git a/tunnel/build.gradle b/tunnel/build.gradle index e70f7eb6..e1742f4c 100644 --- a/tunnel/build.gradle +++ b/tunnel/build.gradle @@ -6,7 +6,7 @@ version wireguardVersionName group groupName android { - compileSdkVersion 31 + compileSdk 33 ndkVersion '21.4.7075529' compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 diff --git a/ui/build.gradle b/ui/build.gradle index 538b3d0c..e95d1779 100644 --- a/ui/build.gradle +++ b/ui/build.gradle @@ -12,7 +12,7 @@ group groupName final def keystorePropertiesFile = rootProject.file("keystore.properties") android { - compileSdkVersion 31 + compileSdk 33 buildFeatures { buildConfig = true dataBinding = true diff --git a/ui/src/main/AndroidManifest.xml b/ui/src/main/AndroidManifest.xml index 3993e1ff..f1daac30 100644 --- a/ui/src/main/AndroidManifest.xml +++ b/ui/src/main/AndroidManifest.xml @@ -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" /> |