mirror of
https://github.com/twinksoftware/Gearslip.git
synced 2026-11-10 16:02:25 +01:00
launcher: RF Sentinel keeps its car app tile even though it also posts car notifications
This commit is contained in:
1 parent
ea45bf994b
commit
f414a3c2c8
1 file changed
+3
-1
@@ -137,7 +137,9 @@ internal object LauncherCache {
|
|||||||
val messagingPackages = messagingApps.map { it.packageName }.toSet()
|
val messagingPackages = messagingApps.map { it.packageName }.toSet()
|
||||||
|
|
||||||
val nav = navApps
|
val nav = navApps
|
||||||
.filter { it.component.packageName !in messagingPackages }
|
// Only a messaging car screen gives way: RF Sentinel posts car notifications too, but
|
||||||
|
// its car screen is a POI app and dropping it left RF Sentinel with no tile at all.
|
||||||
|
.filter { it.component.packageName !in messagingPackages || !(it.kind == "messaging" || it.kind == "app") }
|
||||||
// An app whose template screen is rejected but whose player works through Gearslip
|
// An app whose template screen is rejected but whose player works through Gearslip
|
||||||
// (Spotify) shows only its player tile - a "· Browse" tile beside it would just report
|
// (Spotify) shows only its player tile - a "· Browse" tile beside it would just report
|
||||||
// that the car screen isn't supported.
|
// that the car screen isn't supported.
|
||||||
|
|||||||
Reference in new issue
Block a user