Notification summaries on request: NotificationListenerService, off by default
CI / check (push) Canceled after 0s

- LembasNotificationListener keeps nothing; NotificationReader.read takes the notifications up
  now (not ours, not ongoing, not group summaries; newest 40, 600 chars each, 12k in all) and
  returns nothing while the phone is locked.
- The assistant sends them with one question: its "Summarise my notifications" chip, or a
  question naming them (assist_notifications_phrases, per language).
- Settings › Assistant › Notification summaries: the app's switch (off) and, when on, Android's
  notification-access page with whether it is given; a privacy paragraph.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
HomerandClaude Opus 5.5 committed 2026-11-10 16:29:14 +00:00
1 parent dc642c62b9
commit 9ca27cee01
20 files changed
+399 -4

No files matched your search

+5
View File
@@ -26,6 +26,11 @@ is in alpha and releases come off `main`.
you change it -- with the screen off. Settings explains what it costs in battery and how to
keep a phone's battery optimisation from stopping it. Not in the F-Droid build, which builds
every library from source.
- **"Summarise my notifications"**, if you allow it (off by default). Settings › Assistant ›
*Notification summaries*, plus Android's own notification-access switch, which Settings opens
for you. Then ask the assistant about "my notifications", or tap its chip, and the
notifications on the phone right now go with that one question -- never before you ask, never
while the phone is locked, and the app keeps none of them.
- **Code in colour.** The file viewer highlights a source file by its language (as the server
names it), and a reply's code blocks by their fence's language: comments, strings, numbers,
keywords, type names, and markup's tags and attributes, in the theme's own colours in Shire
+11
View File
@@ -162,6 +162,17 @@
android:exported="false"
android:foregroundServiceType="microphone" />
<!-- Notification summaries (opt-in): read only when a question asks for them. -->
<service
android:name=".notify.LembasNotificationListener"
android:exported="true"
android:label="@string/notification_summaries"
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
<intent-filter>
<action android:name="android.service.notification.NotificationListenerService" />
</intent-filter>
</service>
<receiver
android:name=".wake.WakeBootReceiver"
android:exported="true">
@@ -15,6 +15,7 @@ import eu.llembas.android.api.ModelInfo
import eu.llembas.android.api.Step
import eu.llembas.android.api.StreamClient
import eu.llembas.android.lembas
import eu.llembas.android.notify.NotificationReader
import eu.llembas.android.push.Notifications
import eu.llembas.android.ui.explain
import kotlinx.coroutines.CoroutineScope
@@ -76,6 +77,8 @@ data class AssistUiState(
* until the person says stop, taps End, types, or says nothing.
*/
val conversation: Boolean = false,
/** Whether the person let the assistant read the notifications when asked (Settings and Android both). */
val canReadNotifications: Boolean = false,
) {
val screenAvailable: Boolean get() = screenText || screenshot != null
val modelInfo: ModelInfo? get() = models.firstOrNull { it.id == modelId }
@@ -100,6 +103,7 @@ interface AssistActions {
fun readAloud() {}
fun stopReading() {}
fun endConversation() {}
fun summariseNotifications() {}
}
/**
@@ -145,6 +149,7 @@ class AssistController(private val context: Context, private val scope: Coroutin
signedIn = instance != null,
instanceName = instance?.name?.ifBlank { instance.base }.orEmpty(),
voiceReply = prefs.readAloudSpoken,
canReadNotifications = prefs.notificationSummaries && NotificationReader.granted(context),
last = prefs.lastAssistChat.takeIf { id -> id.isNotBlank() && !prefs.assistantTemporary }
?.let { id -> LastAssist(id, prefs.lastAssistTitle, prefs.lastAssistAt) },
)
@@ -366,7 +371,10 @@ class AssistController(private val context: Context, private val scope: Coroutin
ask(prompt, spoken = false)
}
fun ask(question: String, spoken: Boolean) {
/** The sheet's "Summarise my notifications": the notifications up now go with the question. */
override fun summariseNotifications() = ask(context.getString(R.string.assist_notifications_prompt), spoken = false, notifications = true)
fun ask(question: String, spoken: Boolean, notifications: Boolean = false) {
if (question.isBlank()) return
if (_state.value.listening) type()
following?.cancel()
@@ -386,7 +394,19 @@ class AssistController(private val context: Context, private val scope: Coroutin
val attachments = buildList {
if (withScreen) now.screenshot?.let { shot -> add(api.upload("screen.png", "image/png", png(shot), now.chatId).id) }
}
val text = if (withScreen && screenText != null) "$question\n\n---\nOn my screen:\n\n$screenText" else question
// The notifications, when asked for by the chip or by name ("my notifications") --
// read now, only while unlocked (NotificationReader.read), and for this question only.
val phrases = context.getString(R.string.assist_notifications_phrases).split("|")
val notices = if (now.canReadNotifications && (notifications || NotificationReader.asksAbout(question, phrases))) {
NotificationReader.asText(NotificationReader.read(context)).ifBlank { NO_NOTIFICATIONS }
} else {
null
}
val text = buildString {
append(question)
if (withScreen && screenText != null) append("\n\n---\nOn my screen:\n\n$screenText")
if (notices != null) append("\n\n---\nMy notifications:\n\n$notices")
}
// The screen goes with one question, not every one after it.
_state.update { it.copy(includeScreen = false) }
val chatId = now.chatId
@@ -523,6 +543,7 @@ class AssistController(private val context: Context, private val scope: Coroutin
companion object {
const val MAX_SCREEN_CHARS = 8_000
private const val NO_NOTIFICATIONS = "(none)"
// Listening, for the instance's speech-to-text (the phone's recogniser finds the end of
// speech itself). Levels are the RMS of 16-bit samples, 0..1: a room is under 0.01,
@@ -47,6 +47,7 @@ import androidx.compose.material.icons.filled.History
import androidx.compose.material.icons.filled.Keyboard
import androidx.compose.material.icons.filled.Lightbulb
import androidx.compose.material.icons.filled.Mic
import androidx.compose.material.icons.filled.Notifications
import androidx.compose.material.icons.filled.ScreenshotMonitor
import androidx.compose.material.icons.filled.Stop
import androidx.compose.material.icons.filled.Summarize
@@ -443,6 +444,10 @@ private fun Starting(state: AssistUiState, actions: AssistActions, locked: Boole
QuickAction(Icons.Filled.Lightbulb, stringResource(R.string.assist_quick_explain)) { actions.quick(explain) }
}
}
// The notifications, read only now that it is asked, and never over the lock screen.
if (state.canReadNotifications && !locked) {
QuickAction(Icons.Filled.Notifications, stringResource(R.string.assist_notifications)) { actions.summariseNotifications() }
}
Column(verticalArrangement = Arrangement.spacedBy(4.dp)) {
Text(stringResource(R.string.assist_help), style = MaterialTheme.typography.bodySmall, color = palette.inkFaint)
Text(stringResource(R.string.assist_wake_word_hint), style = MaterialTheme.typography.bodySmall, color = palette.inkFaint)
@@ -93,6 +93,8 @@ data class Prefs(
val wakePhrase: String = "hey_lembas",
/** Listen only while the screen is on. */
val wakeScreenOnly: Boolean = true,
/** The assistant may read the notifications when asked (with Android's notification access). */
val notificationSummaries: Boolean = false,
val assistantModel: String = "",
val lastAssistChat: String = "",
val lastAssistTitle: String = "",
@@ -0,0 +1,102 @@
package eu.llembas.android.notify
import android.app.KeyguardManager
import android.app.Notification
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.os.Build
import android.provider.Settings
import android.service.notification.NotificationListenerService
import android.service.notification.StatusBarNotification
import androidx.core.app.NotificationManagerCompat
/**
* Notification summaries on request: the assistant reads the notifications on the phone only when
* the person asks it to ("summarise my notifications", or the sheet's chip), and sends their text
* with that one question. Off by default, twice over: Android's own notification-access switch
* (which only the person can turn on, in the system's settings) and Settings › Assistant's.
*
* The listener keeps nothing: it is how Android lets an app read the notifications that are up
* right now ([activeNotifications]), and nothing is read until a question asks for it. Never over
* the lock screen ([read] returns nothing while the phone is locked).
*/
class LembasNotificationListener : NotificationListenerService() {
override fun onListenerConnected() {
super.onListenerConnected()
current = this
}
override fun onListenerDisconnected() {
if (current === this) current = null
super.onListenerDisconnected()
}
companion object {
@Volatile
var current: LembasNotificationListener? = null
private set
}
}
/** One notification, as the question carries it. */
data class Notice(val app: String, val title: String, val text: String, val at: Long)
object NotificationReader {
/** Whether the person gave LLeMbas notification access in the system's settings. */
fun granted(context: Context): Boolean = context.packageName in NotificationManagerCompat.getEnabledListenerPackages(context)
/** The system's page for this app's notification access (the detail page where Android has one). */
fun settingsIntent(context: Context): Intent = if (Build.VERSION.SDK_INT >= 30) {
Intent(Settings.ACTION_NOTIFICATION_LISTENER_DETAIL_SETTINGS)
.putExtra(Settings.EXTRA_NOTIFICATION_LISTENER_COMPONENT_NAME, ComponentName(context, LembasNotificationListener::class.java).flattenToString())
} else {
Intent(Settings.ACTION_NOTIFICATION_LISTENER_SETTINGS)
}.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
/** The notifications up now, newest first -- or none, when locked or not allowed. */
fun read(context: Context): List<Notice> {
if (context.getSystemService(KeyguardManager::class.java).isKeyguardLocked) return emptyList()
val listener = LembasNotificationListener.current ?: return emptyList()
val shown = runCatching { listener.activeNotifications }.getOrNull().orEmpty()
return shown
.filter { it.packageName != context.packageName && !it.isOngoing && it.notification.flags and Notification.FLAG_GROUP_SUMMARY == 0 }
.sortedByDescending { it.postTime }
.mapNotNull { notice(context, it) }
.take(MAX_NOTICES)
}
private fun notice(context: Context, sbn: StatusBarNotification): Notice? {
val extras = sbn.notification.extras
val title = extras.getCharSequence(Notification.EXTRA_TITLE)?.toString().orEmpty()
val lines = extras.getCharSequenceArray(Notification.EXTRA_TEXT_LINES)?.joinToString("\n").orEmpty()
val text = (extras.getCharSequence(Notification.EXTRA_BIG_TEXT) ?: extras.getCharSequence(Notification.EXTRA_TEXT))?.toString()
?.ifBlank { null } ?: lines
if (title.isBlank() && text.isBlank()) return null
val app = runCatching {
val pm = context.packageManager
pm.getApplicationLabel(pm.getApplicationInfo(sbn.packageName, 0)).toString()
}.getOrDefault(sbn.packageName)
return Notice(app, title, text.take(MAX_TEXT), sbn.postTime)
}
/** The notifications as the question's attachment of text: one block per notification. */
fun asText(notices: List<Notice>, now: Long = System.currentTimeMillis()): String = notices.joinToString("\n\n") { n ->
val minutes = ((now - n.at) / 60_000).coerceAtLeast(0)
val ago = if (minutes < 60) "${minutes}m ago" else "${minutes / 60}h ago"
listOf("[${n.app} · $ago] ${n.title}".trim(), n.text).filter { it.isNotBlank() }.joinToString("\n")
}.take(MAX_CHARS)
/**
* Whether a question asks about the notifications: one of [phrases] (in the app's language,
* "my notifications" and the like) is in it.
*/
fun asksAbout(question: String, phrases: List<String>): Boolean {
val q = question.lowercase()
return phrases.map { it.trim().lowercase() }.any { it.isNotEmpty() && it in q }
}
private const val MAX_NOTICES = 40
private const val MAX_TEXT = 600
private const val MAX_CHARS = 12_000
}
@@ -45,6 +45,7 @@ import androidx.compose.material.icons.filled.PhoneAndroid
import androidx.compose.material.icons.filled.RecordVoiceOver
import androidx.compose.material.icons.filled.Science
import androidx.compose.material.icons.filled.ScreenLockPortrait
import androidx.compose.material.icons.filled.Security
import androidx.compose.material.icons.filled.SystemUpdate
import androidx.compose.material.icons.filled.Timer
import androidx.compose.material.icons.filled.Translate
@@ -87,6 +88,7 @@ import eu.llembas.android.assist.PhoneRecognizer
import eu.llembas.android.auth.Instance
import eu.llembas.android.auth.Prefs
import eu.llembas.android.lembas
import eu.llembas.android.notify.NotificationReader
import eu.llembas.android.push.Push
import eu.llembas.android.ui.theme.LocalPalette
import eu.llembas.android.update.AppVersion
@@ -119,6 +121,8 @@ interface SettingsActions {
fun wakePhrase(id: String) {}
fun wakeScreenOnly(on: Boolean) {}
fun batterySettings() {}
fun notificationSummaries(on: Boolean) {}
fun notificationAccess() {}
fun readAloud(on: Boolean) {}
fun checkUpdate() {}
fun openRelease() {}
@@ -145,6 +149,8 @@ data class SettingsState(
val phoneRecognizer: Boolean = false,
/** Whether this build has a wake-word engine (the F-Droid build has none). */
val wakeAvailable: Boolean = false,
/** Whether Android's notification access is given to LLeMbas. */
val notificationAccess: Boolean = false,
)
@Composable
@@ -258,6 +264,16 @@ fun SettingsScreen(onBack: () -> Unit, onAddInstance: () -> Unit) {
runCatching { context.startActivity(Intent(Settings.ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)) }
}
// On: Android's own switch is the person's to flip, so its page opens if it is off.
override fun notificationSummaries(on: Boolean) {
scope.launch { store.savePrefs { it.copy(notificationSummaries = on) } }
if (on && !NotificationReader.granted(context)) notificationAccess()
}
override fun notificationAccess() {
runCatching { context.startActivity(NotificationReader.settingsIntent(context)) }
}
override fun readAloud(on: Boolean) {
scope.launch { store.savePrefs { it.copy(readAloudSpoken = on) } }
}
@@ -313,6 +329,8 @@ fun SettingsScreen(onBack: () -> Unit, onAddInstance: () -> Unit) {
beta = beta,
phoneRecognizer = remember { PhoneRecognizer.available(context) },
wakeAvailable = WakeEngine.AVAILABLE,
// Read again each time Settings is composed: the person comes back from the system's page.
notificationAccess = NotificationReader.granted(context),
),
actions,
onBack,
@@ -495,6 +513,7 @@ fun SettingsContent(state: SettingsState, actions: SettingsActions, onBack: () -
)
}
item { WakeWordGroup(state, actions) }
item { NotificationSummaryGroup(state, actions) }
item {
// Which recogniser turns speech into words: the instance's or the phone's -- what
// each one is, and where the recording goes, said in the row itself.
@@ -629,6 +648,38 @@ private fun WakeWordGroup(state: SettingsState, actions: SettingsActions) {
)
}
/** Notification summaries: off by default; on needs Android's notification access too, which this explains. */
@Composable
private fun NotificationSummaryGroup(state: SettingsState, actions: SettingsActions) {
val palette = LocalPalette.current
val on = state.prefs.notificationSummaries
Group(stringResource(R.string.notification_summaries)) {
SettingRow(
Icons.Filled.Notifications,
stringResource(R.string.notification_summaries_switch),
subtitle = stringResource(R.string.notification_summaries_line),
onClick = { actions.notificationSummaries(!on) },
trailing = { Switch(checked = on, onCheckedChange = actions::notificationSummaries) },
)
if (on) {
Rule()
SettingRow(
Icons.Filled.Security,
stringResource(R.string.notification_access),
subtitle = stringResource(if (state.notificationAccess) R.string.notification_access_on else R.string.notification_access_off),
tint = if (state.notificationAccess) null else palette.warning,
onClick = actions::notificationAccess,
)
}
}
Text(
stringResource(R.string.notification_summaries_privacy),
style = MaterialTheme.typography.bodySmall,
color = palette.inkFaint,
modifier = Modifier.padding(horizontal = 16.dp, vertical = 8.dp),
)
}
@Composable
private fun Group(title: String, content: @Composable () -> Unit) {
val palette = LocalPalette.current
+10
View File
@@ -417,6 +417,16 @@
<string name="wake_heard">Slyšel jsem vás. Klepněte a ptejte se.</string>
<string name="wake_resume">Znovu naslouchat budicímu slovu</string>
<string name="wake_resume_line">Telefon se restartoval. Klepnutím znovu spustíte naslouchání.</string>
<string name="assist_notifications">Shrnout má oznámení</string>
<string name="assist_notifications_prompt">Shrň moje oznámení: co potřebuje mou pozornost?</string>
<string name="assist_notifications_phrases">moje oznámení|má oznámení|mých oznámení|moje notifikace</string>
<string name="notification_summaries">Shrnutí oznámení</string>
<string name="notification_summaries_switch">Dovolit asistentovi číst má oznámení, když o to požádám</string>
<string name="notification_summaries_line">Řekněte „shrň moje oznámení“, nebo klepněte na tlačítko v asistentovi.</string>
<string name="notification_access">Přístup k oznámením</string>
<string name="notification_access_on">Uděleno. Přepínač Androidu je v systémovém nastavení.</string>
<string name="notification_access_off">Zatím neuděleno. Klepnutím otevřete přepínač Androidu pro LLeMbas.</string>
<string name="notification_summaries_privacy">Ve výchozím stavu vypnuto. Když požádáte, text oznámení, která jsou v telefonu právě teď (aplikace, název, text), půjde s touto jedinou otázkou na vaši instanci a její model. Dřív se nic nečte, aplikace si nic neponechá a při zamčeném telefonu se nečte nic. Přístup k oznámením v Androidu dovolí aplikaci vidět každé oznámení, proto je na vás, zda ho dáte a zase vezmete.</string>
<string name="assist_recogniser_failed">Rozpoznávání řeči v telefonu se zastavilo. Zkuste to znovu nebo zvolte LLeMbas v Nastavení › Hlasový vstup.</string>
<string name="assistant_listens">Začít poslouchat, když se asistent otevře</string>
<string name="voice_input">Hlasový vstup</string>
+10
View File
@@ -417,6 +417,16 @@
<string name="wake_heard">Gehört. Tippe, um zu fragen.</string>
<string name="wake_resume">Wieder auf das Aktivierungswort hören</string>
<string name="wake_resume_line">Das Telefon wurde neu gestartet. Tippe, um wieder zuzuhören.</string>
<string name="assist_notifications">Meine Benachrichtigungen zusammenfassen</string>
<string name="assist_notifications_prompt">Fasse meine Benachrichtigungen zusammen: Was braucht meine Aufmerksamkeit?</string>
<string name="assist_notifications_phrases">meine benachrichtigungen|meinen benachrichtigungen|meiner benachrichtigungen</string>
<string name="notification_summaries">Zusammenfassungen der Benachrichtigungen</string>
<string name="notification_summaries_switch">Den Assistenten meine Benachrichtigungen lesen lassen, wenn ich frage</string>
<string name="notification_summaries_line">Sag „fasse meine Benachrichtigungen zusammen“ oder tippe auf den Chip im Assistenten.</string>
<string name="notification_access">Zugriff auf Benachrichtigungen</string>
<string name="notification_access_on">Erteilt. Der Schalter dafür ist in den Android-Einstellungen.</string>
<string name="notification_access_off">Noch nicht erteilt. Tippe, um den Android-Schalter für LLeMbas zu öffnen.</string>
<string name="notification_summaries_privacy">Standardmäßig aus. Wenn du fragst, geht der Text der Benachrichtigungen, die gerade auf deinem Telefon sind (App, Titel, Text), mit dieser einen Frage an deine Instanz und ihr Modell. Vorher wird nichts gelesen, die App behält nichts davon, und bei gesperrtem Telefon wird nichts gelesen. Der Benachrichtigungszugriff von Android lässt eine App jede Benachrichtigung sehen; ihn zu erteilen und zu entziehen liegt bei dir.</string>
<string name="assist_recogniser_failed">Die Spracherkennung des Telefons hat angehalten. Versuchen Sie es erneut oder wählen Sie LLeMbas unter Einstellungen › Spracheingabe.</string>
<string name="assistant_listens">Beim Öffnen des Assistenten zuhören</string>
<string name="voice_input">Spracheingabe</string>
+10
View File
@@ -417,6 +417,16 @@
<string name="wake_heard">Te he oído. Toca para preguntar.</string>
<string name="wake_resume">Volver a escuchar la palabra de activación</string>
<string name="wake_resume_line">El teléfono se reinició. Toca para volver a escuchar.</string>
<string name="assist_notifications">Resumir mis notificaciones</string>
<string name="assist_notifications_prompt">Resume mis notificaciones: ¿qué necesita mi atención?</string>
<string name="assist_notifications_phrases">mis notificaciones</string>
<string name="notification_summaries">Resúmenes de notificaciones</string>
<string name="notification_summaries_switch">Dejar que el asistente lea mis notificaciones cuando lo pida</string>
<string name="notification_summaries_line">Pide «resume mis notificaciones» o toca el botón en el asistente.</string>
<string name="notification_access">Acceso a notificaciones</string>
<string name="notification_access_on">Concedido. El interruptor de Android está en los ajustes del sistema.</string>
<string name="notification_access_off">Aún no concedido. Toca para abrir el interruptor de Android para LLeMbas.</string>
<string name="notification_summaries_privacy">Desactivado por defecto. Cuando lo pides, el texto de las notificaciones que hay ahora en tu teléfono (app, título, texto) va con esa única pregunta a tu instancia y su modelo. No se lee nada antes, la app no guarda nada y no se lee nada con el teléfono bloqueado. El acceso a notificaciones de Android permite a una app ver todas las notificaciones; darlo y retirarlo es cosa tuya.</string>
<string name="assist_recogniser_failed">El reconocimiento de voz del teléfono se detuvo. Inténtelo de nuevo o elija LLeMbas en Ajustes › Entrada de voz.</string>
<string name="assistant_listens">Empezar a escuchar al abrir el asistente</string>
<string name="voice_input">Entrada de voz</string>
+10
View File
@@ -417,6 +417,16 @@
<string name="wake_heard">Entendu. Touchez pour demander.</string>
<string name="wake_resume">Écouter à nouveau le mot d’activation</string>
<string name="wake_resume_line">Le téléphone a redémarré. Touchez pour reprendre l’écoute.</string>
<string name="assist_notifications">Résumer mes notifications</string>
<string name="assist_notifications_prompt">Résume mes notifications : qu’est-ce qui demande mon attention ?</string>
<string name="assist_notifications_phrases">mes notifications</string>
<string name="notification_summaries">Résumés des notifications</string>
<string name="notification_summaries_switch">Laisser l’assistant lire mes notifications quand je le demande</string>
<string name="notification_summaries_line">Demandez « résume mes notifications », ou touchez la puce dans l’assistant.</string>
<string name="notification_access">Accès aux notifications</string>
<string name="notification_access_on">Accordé. L’interrupteur d’Android est dans les paramètres du système.</string>
<string name="notification_access_off">Pas encore accordé. Touchez pour ouvrir l’interrupteur d’Android pour LLeMbas.</string>
<string name="notification_summaries_privacy">Désactivé par défaut. Quand vous le demandez, le texte des notifications présentes sur votre téléphone (app, titre, texte) part avec cette seule question vers votre instance et son modèle. Rien n’est lu avant, l’app n’en garde rien, et rien n’est lu téléphone verrouillé. L’accès aux notifications d’Android permet à une app de voir toutes les notifications : c’est à vous de l’accorder et de le retirer.</string>
<string name="assist_recogniser_failed">La reconnaissance vocale du téléphone s’est arrêtée. Réessayez, ou choisissez LLeMbas dans Réglages › Saisie vocale.</string>
<string name="assistant_listens">Écouter dès l’ouverture de l’assistant</string>
<string name="voice_input">Saisie vocale</string>
+10
View File
@@ -417,6 +417,16 @@
<string name="wake_heard">Hallottalak. Koppints a kérdezéshez.</string>
<string name="wake_resume">Ébresztőszó figyelése újra</string>
<string name="wake_resume_line">A telefon újraindult. Koppints a figyelés folytatásához.</string>
<string name="assist_notifications">Értesítéseim összefoglalása</string>
<string name="assist_notifications_prompt">Foglald össze az értesítéseimet: mi igényli a figyelmemet?</string>
<string name="assist_notifications_phrases">értesítéseim|értesítéseimet|az értesítéseimről</string>
<string name="notification_summaries">Értesítések összefoglalása</string>
<string name="notification_summaries_switch">Az asszisztens kérésemre elolvashatja az értesítéseimet</string>
<string name="notification_summaries_line">Kérd, hogy „foglald össze az értesítéseimet”, vagy koppints a gombra az asszisztensben.</string>
<string name="notification_access">Hozzáférés az értesítésekhez</string>
<string name="notification_access_on">Megadva. Az Android kapcsolója a rendszerbeállításokban van.</string>
<string name="notification_access_off">Még nincs megadva. Koppints az Android LLeMbas-kapcsolójának megnyitásához.</string>
<string name="notification_summaries_privacy">Alapból ki van kapcsolva. Ha kéred, a telefonon éppen látható értesítések szövege (alkalmazás, cím, szöveg) ezzel az egy kérdéssel együtt a példányodhoz és a modelljéhez kerül. Előtte semmit nem olvas, az alkalmazás semmit nem tart meg, és zárolt telefonnál semmit nem olvas. Az Android értesítés-hozzáférése minden értesítést láthatóvá tesz egy alkalmazásnak, ezért rajtad múlik, megadod-e, és visszavonod-e.</string>
<string name="assist_recogniser_failed">A telefon beszédfelismerője leállt. Próbálja újra, vagy válassza a LLeMbast a Beállítások › Hangbevitel alatt.</string>
<string name="assistant_listens">Hallgatás indítása az asszisztens megnyitásakor</string>
<string name="voice_input">Hangbevitel</string>
+10
View File
@@ -417,6 +417,16 @@
<string name="wake_heard">Ti ho sentito. Tocca per chiedere.</string>
<string name="wake_resume">Ascolta di nuovo la parola di attivazione</string>
<string name="wake_resume_line">Il telefono si è riavviato. Tocca per ricominciare ad ascoltare.</string>
<string name="assist_notifications">Riassumi le mie notifiche</string>
<string name="assist_notifications_prompt">Riassumi le mie notifiche: cosa richiede la mia attenzione?</string>
<string name="assist_notifications_phrases">le mie notifiche|mie notifiche</string>
<string name="notification_summaries">Riepiloghi delle notifiche</string>
<string name="notification_summaries_switch">Lascia che l’assistente legga le mie notifiche quando lo chiedo</string>
<string name="notification_summaries_line">Chiedi «riassumi le mie notifiche» o tocca il pulsante nell’assistente.</string>
<string name="notification_access">Accesso alle notifiche</string>
<string name="notification_access_on">Concesso. L’interruttore di Android è nelle impostazioni di sistema.</string>
<string name="notification_access_off">Non ancora concesso. Tocca per aprire l’interruttore di Android per LLeMbas.</string>
<string name="notification_summaries_privacy">Disattivato per impostazione predefinita. Quando lo chiedi, il testo delle notifiche presenti ora sul telefono (app, titolo, testo) va con quella sola domanda alla tua istanza e al suo modello. Prima non si legge nulla, l’app non conserva nulla e a telefono bloccato non si legge nulla. L’accesso alle notifiche di Android permette a un’app di vedere ogni notifica: concederlo e revocarlo spetta a te.</string>
<string name="assist_recogniser_failed">Il riconoscimento vocale del telefono si è fermato. Riprovi, oppure scelga LLeMbas in Impostazioni › Input vocale.</string>
<string name="assistant_listens">Inizia ad ascoltare all’apertura dell’assistente</string>
<string name="voice_input">Input vocale</string>
+10
View File
@@ -417,6 +417,16 @@
<string name="wake_heard">Słyszę. Dotknij, aby zapytać.</string>
<string name="wake_resume">Znów nasłuchuj słowa aktywującego</string>
<string name="wake_resume_line">Telefon uruchomił się ponownie. Dotknij, aby znów słuchać.</string>
<string name="assist_notifications">Podsumuj moje powiadomienia</string>
<string name="assist_notifications_prompt">Podsumuj moje powiadomienia: co wymaga mojej uwagi?</string>
<string name="assist_notifications_phrases">moje powiadomienia|moich powiadomień|moje notyfikacje</string>
<string name="notification_summaries">Podsumowania powiadomień</string>
<string name="notification_summaries_switch">Pozwól asystentowi czytać moje powiadomienia, gdy poproszę</string>
<string name="notification_summaries_line">Poproś „podsumuj moje powiadomienia” albo dotknij przycisku w asystencie.</string>
<string name="notification_access">Dostęp do powiadomień</string>
<string name="notification_access_on">Przyznany. Przełącznik Androida jest w ustawieniach systemu.</string>
<string name="notification_access_off">Jeszcze nie przyznany. Dotknij, aby otworzyć przełącznik Androida dla LLeMbas.</string>
<string name="notification_summaries_privacy">Domyślnie wyłączone. Gdy poprosisz, tekst powiadomień, które są teraz na telefonie (aplikacja, tytuł, treść), trafi z tym jednym pytaniem do Twojej instancji i jej modelu. Wcześniej nic nie jest czytane, aplikacja niczego nie zachowuje i nic nie jest czytane przy zablokowanym telefonie. Dostęp do powiadomień w Androidzie pozwala aplikacji widzieć każde powiadomienie, więc to Ty decydujesz, czy go dać i odebrać.</string>
<string name="assist_recogniser_failed">Rozpoznawanie mowy w telefonie przestało działać. Spróbuj ponownie albo wybierz LLeMbas w Ustawienia › Wprowadzanie głosowe.</string>
<string name="assistant_listens">Zacznij słuchać po otwarciu asystenta</string>
<string name="voice_input">Wprowadzanie głosowe</string>
+10
View File
@@ -417,6 +417,16 @@
<string name="wake_heard">Počul som vás. Ťuknite a pýtajte sa.</string>
<string name="wake_resume">Znova počúvať budiace slovo</string>
<string name="wake_resume_line">Telefón sa reštartoval. Ťuknutím znova spustíte počúvanie.</string>
<string name="assist_notifications">Zhrnúť moje oznámenia</string>
<string name="assist_notifications_prompt">Zhrň moje oznámenia: čo potrebuje moju pozornosť?</string>
<string name="assist_notifications_phrases">moje oznámenia|mojich oznámení|moje notifikácie</string>
<string name="notification_summaries">Zhrnutia oznámení</string>
<string name="notification_summaries_switch">Dovoliť asistentovi čítať moje oznámenia, keď o to požiadam</string>
<string name="notification_summaries_line">Povedzte „zhrň moje oznámenia“, alebo ťuknite na tlačidlo v asistentovi.</string>
<string name="notification_access">Prístup k oznámeniam</string>
<string name="notification_access_on">Udelený. Prepínač Androidu je v systémových nastaveniach.</string>
<string name="notification_access_off">Zatiaľ neudelený. Ťuknutím otvoríte prepínač Androidu pre LLeMbas.</string>
<string name="notification_summaries_privacy">Predvolene vypnuté. Keď požiadate, text oznámení, ktoré sú v telefóne práve teraz (aplikácia, názov, text), pôjde s touto jedinou otázkou na vašu inštanciu a jej model. Predtým sa nič nečíta, aplikácia si nič neponechá a pri zamknutom telefóne sa nečíta nič. Prístup k oznámeniam v Androide dovolí aplikácii vidieť každé oznámenie, preto je na vás, či ho dáte a znova vezmete.</string>
<string name="assist_recogniser_failed">Rozpoznávanie reči v telefóne sa zastavilo. Skúste to znova alebo zvoľte LLeMbas v Nastaveniach › Hlasový vstup.</string>
<string name="assistant_listens">Začať počúvať, keď sa asistent otvorí</string>
<string name="voice_input">Hlasový vstup</string>
+10
View File
@@ -419,6 +419,16 @@
<string name="wake_heard">Heard you. Tap to ask.</string>
<string name="wake_resume">Listen for the wake word again</string>
<string name="wake_resume_line">The phone restarted. Tap to start listening again.</string>
<string name="assist_notifications">Summarise my notifications</string>
<string name="assist_notifications_prompt">Summarise my notifications: what needs my attention?</string>
<string name="assist_notifications_phrases">my notifications|notifications on my phone</string>
<string name="notification_summaries">Notification summaries</string>
<string name="notification_summaries_switch">Let the assistant read my notifications when I ask</string>
<string name="notification_summaries_line">Ask “summarise my notifications”, or tap the chip in the assistant.</string>
<string name="notification_access">Notification access</string>
<string name="notification_access_on">Given. Android\'s switch for it is in the system\'s settings.</string>
<string name="notification_access_off">Not given yet. Tap to open Android\'s switch for LLeMbas.</string>
<string name="notification_summaries_privacy">Off by default. When you ask, the text of the notifications on your phone right now (app, title, text) goes with that one question to your instance and its model. Nothing is read before you ask, the app keeps none of it, and none is read while the phone is locked. Android\'s notification access lets an app see every notification, so it is yours to give and to take back.</string>
<string name="assist_recogniser_failed">The phone\'s speech recogniser stopped. Try again, or choose LLeMbas under Settings › Voice input.</string>
<string name="assistant_listens">Start listening when the assistant opens</string>
<string name="voice_input">Voice input</string>
@@ -11,6 +11,8 @@ import eu.llembas.android.assist.isStopPhrase
import eu.llembas.android.assist.settle
import eu.llembas.android.assist.usePhoneRecognizer
import eu.llembas.android.auth.Prefs
import eu.llembas.android.notify.Notice
import eu.llembas.android.notify.NotificationReader
import eu.llembas.android.share.shareMessage
import org.junit.Assert.assertEquals
import org.junit.Assert.assertFalse
@@ -108,4 +110,20 @@ class AssistTest {
assertFalse(isStopPhrase("", phrases))
assertTrue(isStopPhrase("Ďakujem, to je všetko", listOf("ďakujem to je všetko")))
}
@Test
fun notificationsGoAsShortBlocksAndOnlyWhenAskedFor() {
val now = 10 * 3_600_000L
val text = NotificationReader.asText(
listOf(
Notice("Mail", "Bilbo", "The party is on Thursday.", now - 5 * 60_000),
Notice("Weather", "Rain", "", now - 3 * 3_600_000),
),
now,
)
assertEquals("[Mail · 5m ago] Bilbo\nThe party is on Thursday.\n\n[Weather · 3h ago] Rain", text)
val phrases = listOf("my notifications")
assertTrue(NotificationReader.asksAbout("Anything urgent in My Notifications?", phrases))
assertFalse(NotificationReader.asksAbout("How do notifications work on Android?", phrases))
}
}
@@ -357,7 +357,7 @@ object Fakes {
val settings = SettingsState(
instances = listOf(home, work),
active = home,
prefs = Prefs(theme = "", assistantTemporary = true, accountLanguage = "en"),
prefs = Prefs(theme = "", assistantTemporary = true, accountLanguage = "en", notificationSummaries = true),
hasDistributor = true,
version = "1.0.0-beta.3",
selfUpdate = true,
@@ -384,7 +384,7 @@ object Fakes {
)
/** Opened from the tile, nothing asked yet: the last chat, the help, the microphone. */
val assistOpened = assistBase.copy(last = LastAssist("c1", "Packing for the road", 0), screenText = true, includeScreen = true)
val assistOpened = assistBase.copy(last = LastAssist("c1", "Packing for the road", 0), screenText = true, includeScreen = true, canReadNotifications = true)
/** A spoken question answered, the answer read aloud. */
val assistAnswered = assistBase.copy(
+10
View File
@@ -444,6 +444,16 @@ STRINGS: dict[str, str] = {
"wake_heard": "Heard you. Tap to ask.",
"wake_resume": "Listen for the wake word again",
"wake_resume_line": "The phone restarted. Tap to start listening again.",
"assist_notifications": "Summarise my notifications",
"assist_notifications_prompt": "Summarise my notifications: what needs my attention?",
"assist_notifications_phrases": "my notifications|notifications on my phone",
"notification_summaries": "Notification summaries",
"notification_summaries_switch": "Let the assistant read my notifications when I ask",
"notification_summaries_line": "Ask “summarise my notifications”, or tap the chip in the assistant.",
"notification_access": "Notification access",
"notification_access_on": "Given. Android's switch for it is in the system's settings.",
"notification_access_off": "Not given yet. Tap to open Android's switch for LLeMbas.",
"notification_summaries_privacy": "Off by default. When you ask, the text of the notifications on your phone right now (app, title, text) goes with that one question to your instance and its model. Nothing is read before you ask, the app keeps none of it, and none is read while the phone is locked. Android's notification access lets an app see every notification, so it is yours to give and to take back.",
"assist_recogniser_failed": "The phone's speech recogniser stopped. Try again, or choose LLeMbas under Settings › Voice input.",
"assistant_listens": "Start listening when the assistant opens",
"voice_input": "Voice input",
+80
View File
@@ -27,6 +27,9 @@
"assist_help": "Podržením tlačítka napájení otevřete asistenta nad libovolnou aplikací; nebo použijte dlaždici v Rychlém nastavení.",
"assist_hint": "Zeptejte se na cokoli",
"assist_no_model": "Žádný model",
"assist_notifications": "Shrnout má oznámení",
"assist_notifications_phrases": "moje oznámení|má oznámení|mých oznámení|moje notifikace",
"assist_notifications_prompt": "Shrň moje oznámení: co potřebuje mou pozornost?",
"assist_offline": "%1$s není dostupná",
"assist_open_app": "Otevřít aplikaci",
"assist_open_in_app": "Pokračovat v aplikaci",
@@ -108,8 +111,15 @@
"model_uses_tools": "Používá nástroje",
"more": "Více",
"new_agent_chat": "Nová konverzace s agentem",
"notification_access": "Přístup k oznámením",
"notification_access_off": "Zatím neuděleno. Klepnutím otevřete přepínač Androidu pro LLeMbas.",
"notification_access_on": "Uděleno. Přepínač Androidu je v systémovém nastavení.",
"notification_settings": "Nastavení oznámení",
"notification_settings_hint": "Které druhy přicházejí a jak: odpovědi, otázky, výsledky a selhání naplánovaných úloh.",
"notification_summaries": "Shrnutí oznámení",
"notification_summaries_line": "Řekněte „shrň moje oznámení“, nebo klepněte na tlačítko v asistentovi.",
"notification_summaries_privacy": "Ve výchozím stavu vypnuto. Když požádáte, text oznámení, která jsou v telefonu právě teď (aplikace, název, text), půjde s touto jedinou otázkou na vaši instanci a její model. Dřív se nic nečte, aplikace si nic neponechá a při zamčeném telefonu se nečte nic. Přístup k oznámením v Androidu dovolí aplikaci vidět každé oznámení, proto je na vás, zda ho dáte a zase vezmete.",
"notification_summaries_switch": "Dovolit asistentovi číst má oznámení, když o to požádám",
"notify_always": "Dá vědět pokaždé",
"notify_matters": "Dá vědět, když na tom záleží",
"notify_never": "Nedá vědět nikdy",
@@ -283,6 +293,9 @@
"assist_help": "Halten Sie die Ein-/Aus-Taste, um den Assistenten über jeder App zu öffnen, oder nutzen Sie die Kachel in den Schnelleinstellungen.",
"assist_hint": "Fragen Sie irgendetwas",
"assist_no_model": "Kein Modell",
"assist_notifications": "Meine Benachrichtigungen zusammenfassen",
"assist_notifications_phrases": "meine benachrichtigungen|meinen benachrichtigungen|meiner benachrichtigungen",
"assist_notifications_prompt": "Fasse meine Benachrichtigungen zusammen: Was braucht meine Aufmerksamkeit?",
"assist_offline": "%1$s ist nicht erreichbar",
"assist_open_app": "App öffnen",
"assist_open_in_app": "In der App fortsetzen",
@@ -365,8 +378,15 @@
"model_uses_tools": "Nutzt Werkzeuge",
"more": "Mehr",
"new_agent_chat": "Neuer Agent-Chat",
"notification_access": "Zugriff auf Benachrichtigungen",
"notification_access_off": "Noch nicht erteilt. Tippe, um den Android-Schalter für LLeMbas zu öffnen.",
"notification_access_on": "Erteilt. Der Schalter dafür ist in den Android-Einstellungen.",
"notification_settings": "Benachrichtigungseinstellungen",
"notification_settings_hint": "Welche Arten ankommen und wie: Antworten, Fragen, geplante Ergebnisse und Fehler.",
"notification_summaries": "Zusammenfassungen der Benachrichtigungen",
"notification_summaries_line": "Sag „fasse meine Benachrichtigungen zusammen“ oder tippe auf den Chip im Assistenten.",
"notification_summaries_privacy": "Standardmäßig aus. Wenn du fragst, geht der Text der Benachrichtigungen, die gerade auf deinem Telefon sind (App, Titel, Text), mit dieser einen Frage an deine Instanz und ihr Modell. Vorher wird nichts gelesen, die App behält nichts davon, und bei gesperrtem Telefon wird nichts gelesen. Der Benachrichtigungszugriff von Android lässt eine App jede Benachrichtigung sehen; ihn zu erteilen und zu entziehen liegt bei dir.",
"notification_summaries_switch": "Den Assistenten meine Benachrichtigungen lesen lassen, wenn ich frage",
"notify_always": "Meldet sich jedes Mal",
"notify_matters": "Meldet sich, wenn es wichtig ist",
"notify_never": "Meldet sich nie",
@@ -540,6 +560,9 @@
"assist_help": "Mantenga pulsado el botón de encendido para abrir el asistente sobre cualquier app, o use el mosaico de Ajustes rápidos.",
"assist_hint": "Pregunte lo que quiera",
"assist_no_model": "Sin modelo",
"assist_notifications": "Resumir mis notificaciones",
"assist_notifications_phrases": "mis notificaciones",
"assist_notifications_prompt": "Resume mis notificaciones: ¿qué necesita mi atención?",
"assist_offline": "No se puede contactar con %1$s",
"assist_open_app": "Abrir la aplicación",
"assist_open_in_app": "Continuar en la aplicación",
@@ -621,8 +644,15 @@
"model_uses_tools": "Usa herramientas",
"more": "Más",
"new_agent_chat": "Nuevo chat de agente",
"notification_access": "Acceso a notificaciones",
"notification_access_off": "Aún no concedido. Toca para abrir el interruptor de Android para LLeMbas.",
"notification_access_on": "Concedido. El interruptor de Android está en los ajustes del sistema.",
"notification_settings": "Ajustes de notificaciones",
"notification_settings_hint": "Qué tipos llegan y cómo: respuestas, preguntas, resultados y fallos programados.",
"notification_summaries": "Resúmenes de notificaciones",
"notification_summaries_line": "Pide «resume mis notificaciones» o toca el botón en el asistente.",
"notification_summaries_privacy": "Desactivado por defecto. Cuando lo pides, el texto de las notificaciones que hay ahora en tu teléfono (app, título, texto) va con esa única pregunta a tu instancia y su modelo. No se lee nada antes, la app no guarda nada y no se lee nada con el teléfono bloqueado. El acceso a notificaciones de Android permite a una app ver todas las notificaciones; darlo y retirarlo es cosa tuya.",
"notification_summaries_switch": "Dejar que el asistente lea mis notificaciones cuando lo pida",
"notify_always": "Avisa siempre",
"notify_matters": "Avisa cuando importa",
"notify_never": "No avisa nunca",
@@ -796,6 +826,9 @@
"assist_help": "Maintenez le bouton marche/arrêt pour ouvrir l’assistant par-dessus n’importe quelle app, ou utilisez la tuile des Réglages rapides.",
"assist_hint": "Demandez n'importe quoi",
"assist_no_model": "Aucun modèle",
"assist_notifications": "Résumer mes notifications",
"assist_notifications_phrases": "mes notifications",
"assist_notifications_prompt": "Résume mes notifications : qu’est-ce qui demande mon attention ?",
"assist_offline": "%1$s est injoignable",
"assist_open_app": "Ouvrir l'application",
"assist_open_in_app": "Continuer dans l'application",
@@ -878,8 +911,15 @@
"model_uses_tools": "Utilise des outils",
"more": "Plus",
"new_agent_chat": "Nouvelle conversation d'agent",
"notification_access": "Accès aux notifications",
"notification_access_off": "Pas encore accordé. Touchez pour ouvrir l’interrupteur d’Android pour LLeMbas.",
"notification_access_on": "Accordé. L’interrupteur d’Android est dans les paramètres du système.",
"notification_settings": "Réglages des notifications",
"notification_settings_hint": "Quels types arrivent, et comment : réponses, questions, résultats et échecs planifiés.",
"notification_summaries": "Résumés des notifications",
"notification_summaries_line": "Demandez « résume mes notifications », ou touchez la puce dans l’assistant.",
"notification_summaries_privacy": "Désactivé par défaut. Quand vous le demandez, le texte des notifications présentes sur votre téléphone (app, titre, texte) part avec cette seule question vers votre instance et son modèle. Rien n’est lu avant, l’app n’en garde rien, et rien n’est lu téléphone verrouillé. L’accès aux notifications d’Android permet à une app de voir toutes les notifications : c’est à vous de l’accorder et de le retirer.",
"notification_summaries_switch": "Laisser l’assistant lire mes notifications quand je le demande",
"notify_always": "Prévient à chaque fois",
"notify_matters": "Prévient quand c’est important",
"notify_never": "Ne prévient jamais",
@@ -1053,6 +1093,9 @@
"assist_help": "Tartsa lenyomva a bekapcsológombot, hogy bármely alkalmazás fölött megnyissa az asszisztenst, vagy használja a Gyorsbeállítások csempét.",
"assist_hint": "Kérdezzen bármit",
"assist_no_model": "Nincs modell",
"assist_notifications": "Értesítéseim összefoglalása",
"assist_notifications_phrases": "értesítéseim|értesítéseimet|az értesítéseimről",
"assist_notifications_prompt": "Foglald össze az értesítéseimet: mi igényli a figyelmemet?",
"assist_offline": "%1$s nem érhető el",
"assist_open_app": "Alkalmazás megnyitása",
"assist_open_in_app": "Folytatás az alkalmazásban",
@@ -1135,8 +1178,15 @@
"model_uses_tools": "Eszközöket használ",
"more": "Továbbiak",
"new_agent_chat": "Új ügynök-csevegés",
"notification_access": "Hozzáférés az értesítésekhez",
"notification_access_off": "Még nincs megadva. Koppints az Android LLeMbas-kapcsolójának megnyitásához.",
"notification_access_on": "Megadva. Az Android kapcsolója a rendszerbeállításokban van.",
"notification_settings": "Értesítési beállítások",
"notification_settings_hint": "Milyen értesítések jönnek és hogyan: válaszok, kérdések, ütemezett eredmények és hibák.",
"notification_summaries": "Értesítések összefoglalása",
"notification_summaries_line": "Kérd, hogy „foglald össze az értesítéseimet”, vagy koppints a gombra az asszisztensben.",
"notification_summaries_privacy": "Alapból ki van kapcsolva. Ha kéred, a telefonon éppen látható értesítések szövege (alkalmazás, cím, szöveg) ezzel az egy kérdéssel együtt a példányodhoz és a modelljéhez kerül. Előtte semmit nem olvas, az alkalmazás semmit nem tart meg, és zárolt telefonnál semmit nem olvas. Az Android értesítés-hozzáférése minden értesítést láthatóvá tesz egy alkalmazásnak, ezért rajtad múlik, megadod-e, és visszavonod-e.",
"notification_summaries_switch": "Az asszisztens kérésemre elolvashatja az értesítéseimet",
"notify_always": "Mindig szól",
"notify_matters": "Szól, ha számít",
"notify_never": "Soha nem szól",
@@ -1310,6 +1360,9 @@
"assist_help": "Tenga premuto il tasto di accensione per aprire l’assistente sopra qualsiasi app, oppure usi il riquadro delle Impostazioni rapide.",
"assist_hint": "Chiedi qualsiasi cosa",
"assist_no_model": "Nessun modello",
"assist_notifications": "Riassumi le mie notifiche",
"assist_notifications_phrases": "le mie notifiche|mie notifiche",
"assist_notifications_prompt": "Riassumi le mie notifiche: cosa richiede la mia attenzione?",
"assist_offline": "%1$s non è raggiungibile",
"assist_open_app": "Apri l'app",
"assist_open_in_app": "Continua nell'app",
@@ -1391,8 +1444,15 @@
"model_uses_tools": "Usa strumenti",
"more": "Altro",
"new_agent_chat": "Nuova chat agente",
"notification_access": "Accesso alle notifiche",
"notification_access_off": "Non ancora concesso. Tocca per aprire l’interruttore di Android per LLeMbas.",
"notification_access_on": "Concesso. L’interruttore di Android è nelle impostazioni di sistema.",
"notification_settings": "Impostazioni delle notifiche",
"notification_settings_hint": "Quali tipi arrivano e come: risposte, domande, risultati e errori pianificati.",
"notification_summaries": "Riepiloghi delle notifiche",
"notification_summaries_line": "Chiedi «riassumi le mie notifiche» o tocca il pulsante nell’assistente.",
"notification_summaries_privacy": "Disattivato per impostazione predefinita. Quando lo chiedi, il testo delle notifiche presenti ora sul telefono (app, titolo, testo) va con quella sola domanda alla tua istanza e al suo modello. Prima non si legge nulla, l’app non conserva nulla e a telefono bloccato non si legge nulla. L’accesso alle notifiche di Android permette a un’app di vedere ogni notifica: concederlo e revocarlo spetta a te.",
"notification_summaries_switch": "Lascia che l’assistente legga le mie notifiche quando lo chiedo",
"notify_always": "Avvisa ogni volta",
"notify_matters": "Avvisa quando conta",
"notify_never": "Non avvisa mai",
@@ -1566,6 +1626,9 @@
"assist_help": "Przytrzymaj przycisk zasilania, aby otworzyć asystenta nad dowolną aplikacją, albo użyj kafelka w Szybkich ustawieniach.",
"assist_hint": "Zapytaj o cokolwiek",
"assist_no_model": "Brak modelu",
"assist_notifications": "Podsumuj moje powiadomienia",
"assist_notifications_phrases": "moje powiadomienia|moich powiadomień|moje notyfikacje",
"assist_notifications_prompt": "Podsumuj moje powiadomienia: co wymaga mojej uwagi?",
"assist_offline": "%1$s jest nieosiągalna",
"assist_open_app": "Otwórz aplikację",
"assist_open_in_app": "Kontynuuj w aplikacji",
@@ -1647,8 +1710,15 @@
"model_uses_tools": "Używa narzędzi",
"more": "Więcej",
"new_agent_chat": "Nowy czat agenta",
"notification_access": "Dostęp do powiadomień",
"notification_access_off": "Jeszcze nie przyznany. Dotknij, aby otworzyć przełącznik Androida dla LLeMbas.",
"notification_access_on": "Przyznany. Przełącznik Androida jest w ustawieniach systemu.",
"notification_settings": "Ustawienia powiadomień",
"notification_settings_hint": "Jakie rodzaje przychodzą i jak: odpowiedzi, pytania, wyniki i błędy zaplanowanych zadań.",
"notification_summaries": "Podsumowania powiadomień",
"notification_summaries_line": "Poproś „podsumuj moje powiadomienia” albo dotknij przycisku w asystencie.",
"notification_summaries_privacy": "Domyślnie wyłączone. Gdy poprosisz, tekst powiadomień, które są teraz na telefonie (aplikacja, tytuł, treść), trafi z tym jednym pytaniem do Twojej instancji i jej modelu. Wcześniej nic nie jest czytane, aplikacja niczego nie zachowuje i nic nie jest czytane przy zablokowanym telefonie. Dostęp do powiadomień w Androidzie pozwala aplikacji widzieć każde powiadomienie, więc to Ty decydujesz, czy go dać i odebrać.",
"notification_summaries_switch": "Pozwól asystentowi czytać moje powiadomienia, gdy poproszę",
"notify_always": "Powiadamia za każdym razem",
"notify_matters": "Powiadamia, gdy to ważne",
"notify_never": "Nigdy nie powiadamia",
@@ -1822,6 +1892,9 @@
"assist_help": "Podržaním tlačidla napájania otvoríte asistenta nad ľubovoľnou aplikáciou; alebo použite dlaždicu v Rýchlych nastaveniach.",
"assist_hint": "Spýtajte sa na čokoľvek",
"assist_no_model": "Žiadny model",
"assist_notifications": "Zhrnúť moje oznámenia",
"assist_notifications_phrases": "moje oznámenia|mojich oznámení|moje notifikácie",
"assist_notifications_prompt": "Zhrň moje oznámenia: čo potrebuje moju pozornosť?",
"assist_offline": "%1$s je nedostupná",
"assist_open_app": "Otvoriť aplikáciu",
"assist_open_in_app": "Pokračovať v aplikácii",
@@ -1903,8 +1976,15 @@
"model_uses_tools": "Používa nástroje",
"more": "Viac",
"new_agent_chat": "Nová konverzácia s agentom",
"notification_access": "Prístup k oznámeniam",
"notification_access_off": "Zatiaľ neudelený. Ťuknutím otvoríte prepínač Androidu pre LLeMbas.",
"notification_access_on": "Udelený. Prepínač Androidu je v systémových nastaveniach.",
"notification_settings": "Nastavenia upozornení",
"notification_settings_hint": "Ktoré druhy prichádzajú a ako: odpovede, otázky, výsledky a zlyhania naplánovaných úloh.",
"notification_summaries": "Zhrnutia oznámení",
"notification_summaries_line": "Povedzte „zhrň moje oznámenia“, alebo ťuknite na tlačidlo v asistentovi.",
"notification_summaries_privacy": "Predvolene vypnuté. Keď požiadate, text oznámení, ktoré sú v telefóne práve teraz (aplikácia, názov, text), pôjde s touto jedinou otázkou na vašu inštanciu a jej model. Predtým sa nič nečíta, aplikácia si nič neponechá a pri zamknutom telefóne sa nečíta nič. Prístup k oznámeniam v Androide dovolí aplikácii vidieť každé oznámenie, preto je na vás, či ho dáte a znova vezmete.",
"notification_summaries_switch": "Dovoliť asistentovi čítať moje oznámenia, keď o to požiadam",
"notify_always": "Dá vedieť zakaždým",
"notify_matters": "Dá vedieť, keď na tom záleží",
"notify_never": "Nedá vedieť nikdy",