Bump target and compile SDK to 33

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2023-03-23 10:05:20 +01:00 committed by Marcel Hibbe
parent 2823081a48
commit 737ce20927
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B
2 changed files with 4 additions and 4 deletions

View file

@ -36,14 +36,14 @@ apply plugin: "org.jlleitschuh.gradle.ktlint"
apply plugin: 'kotlinx-serialization'
android {
compileSdkVersion 32
compileSdkVersion 33
buildToolsVersion '33.0.2'
namespace 'com.nextcloud.talk'
defaultConfig {
minSdkVersion 24
targetSdkVersion 31
targetSdkVersion 33
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
// mayor.minor.hotfix.increment (for increment: 01-50=Alpha / 51-89=RC / 90-99=stable)

View file

@ -220,12 +220,12 @@ class MessageSearchActivity : BaseActivity() {
searchView = menuItem.actionView as SearchView
setupSearchView()
menuItem.setOnActionExpandListener(object : MenuItem.OnActionExpandListener {
override fun onMenuItemActionExpand(item: MenuItem?): Boolean {
override fun onMenuItemActionExpand(item: MenuItem): Boolean {
searchView.requestFocus()
return true
}
override fun onMenuItemActionCollapse(item: MenuItem?): Boolean {
override fun onMenuItemActionCollapse(item: MenuItem): Boolean {
onBackPressed()
return false
}