From 5c635a584999fab64d6ba15bccf48874b37aa004 Mon Sep 17 00:00:00 2001 From: Tim Schneeberger Date: Fri, 13 Dec 2024 20:34:44 +0100 Subject: [PATCH] fix: crash when toggling quick tile on Android 14 fixed --- .../rootlessjamesdsp/service/QuickTileService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/me/timschneeberger/rootlessjamesdsp/service/QuickTileService.kt b/app/src/main/java/me/timschneeberger/rootlessjamesdsp/service/QuickTileService.kt index fd234aa04..33c1724e6 100644 --- a/app/src/main/java/me/timschneeberger/rootlessjamesdsp/service/QuickTileService.kt +++ b/app/src/main/java/me/timschneeberger/rootlessjamesdsp/service/QuickTileService.kt @@ -86,7 +86,7 @@ class QuickTileService : TileService(), // If projection permission request needs to be shown, collapse status bar if (isRootless() && app.mediaProjectionStartIntent == null && !hasProjectMediaAppOp() && !SdkCheck.isVanillaIceCream) { - if(SdkCheck.isVanillaIceCream) + if(SdkCheck.isUpsideDownCake) startActivityAndCollapse(pending) else startActivityAndCollapse(intent)