Update targetSdkVersion to 33

This commit is contained in:
Niko Diamadis
2022-10-22 18:38:59 +02:00
committed by Jannis Mattheis
parent 1da3e38e65
commit cd47c0a841
2 changed files with 10 additions and 3 deletions

View File

@@ -4,11 +4,11 @@ plugins {
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
android { android {
compileSdkVersion 30 compileSdkVersion 33
defaultConfig { defaultConfig {
applicationId "com.github.gotify" applicationId "com.github.gotify"
minSdkVersion 23 minSdkVersion 23
targetSdkVersion 30 targetSdkVersion 33
versionCode 26 versionCode 26
versionName "2.4.0" versionName "2.4.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

View File

@@ -19,6 +19,7 @@
android:theme="@style/AppTheme"> android:theme="@style/AppTheme">
<activity <activity
android:name=".init.InitializationActivity" android:name=".init.InitializationActivity"
android:exported="true"
android:label="@string/app_name" android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar" android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustResize"> android:windowSoftInputMode="adjustResize">
@@ -30,24 +31,29 @@
</activity> </activity>
<activity <activity
android:name=".messages.MessagesActivity" android:name=".messages.MessagesActivity"
android:exported="false"
android:launchMode="singleTask" android:launchMode="singleTask"
android:label="@string/app_name" android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar" /> android:theme="@style/AppTheme.NoActionBar" />
<activity <activity
android:name=".login.LoginActivity" android:name=".login.LoginActivity"
android:exported="false"
android:label="Login" android:label="Login"
android:theme="@style/AppTheme.NoActionBar" android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustResize" /> android:windowSoftInputMode="adjustResize" />
<activity <activity
android:name=".log.LogsActivity" android:name=".log.LogsActivity"
android:exported="false"
android:label="@string/title_activity_logs" android:label="@string/title_activity_logs"
android:theme="@style/AppTheme.NoActionBar" /> android:theme="@style/AppTheme.NoActionBar" />
<activity <activity
android:name=".settings.SettingsActivity" android:name=".settings.SettingsActivity"
android:exported="false"
android:theme="@style/AppTheme.NoActionBar" android:theme="@style/AppTheme.NoActionBar"
android:label="@string/title_activity_settings" /> android:label="@string/title_activity_settings" />
<activity <activity
android:name=".sharing.ShareActivity" android:name=".sharing.ShareActivity"
android:exported="true"
android:theme="@style/AppTheme.NoActionBar" android:theme="@style/AppTheme.NoActionBar"
android:label="Push message"> android:label="Push message">
<intent-filter> <intent-filter>
@@ -59,7 +65,8 @@
<service android:name=".service.WebSocketService" /> <service android:name=".service.WebSocketService" />
<receiver android:name=".init.BootCompletedReceiver"> <receiver android:name=".init.BootCompletedReceiver"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter> </intent-filter>