Target Android 14

renovate/google.oauth2
Alex Baker 3 weeks ago
parent ac00a81751
commit 9baa95ac81

@ -1,12 +1,24 @@
package org.tasks.widget
import android.app.PendingIntent.FLAG_UPDATE_CURRENT
import android.service.quicksettings.TileService
import androidx.core.service.quicksettings.PendingIntentActivityWrapper
import androidx.core.service.quicksettings.TileServiceCompat
import org.tasks.intents.TaskIntents
class TileService : TileService() {
override fun onClick() {
val newTaskIntent = TaskIntents.getNewTaskIntent(this, null, "tile")
.addFlags(TaskIntents.FLAGS)
startActivityAndCollapse(newTaskIntent)
TileServiceCompat.startActivityAndCollapse(
this,
PendingIntentActivityWrapper(
this,
0,
newTaskIntent,
FLAG_UPDATE_CURRENT,
false
)
)
}
}

@ -1,7 +1,7 @@
[versions]
android-compileSdk = "34"
android-minSdk = "24"
android-targetSdk = "33"
android-targetSdk = "34"
accompanist = "0.34.0"
activity-compose = "1.9.2"
appauth = "0.11.1"

Loading…
Cancel
Save