From 4540f9c0778092b23add5ad7314ec8e10979bdd7 Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 4 Dec 2018 05:18:29 -0800 Subject: [PATCH] change foreground-service notification text --- .../app/src/main/java/org/eehouse/android/xw4/BTService.java | 5 ++--- xwords4/android/app/src/main/res/values/strings.xml | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BTService.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BTService.java index fedfe3f87..1bc51167a 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BTService.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BTService.java @@ -542,9 +542,8 @@ public class BTService extends XWService { m_notification = new NotificationCompat.Builder( this, Utils.getChannelId(this) ) .setSmallIcon( R.drawable.notify_btservice ) - .setContentTitle( BTService.class.getSimpleName() ) - .setContentText("listening for bluetooth messages...") - .setContentIntent(pendIntent) + .setContentText( getString(R.string.bkng_notify_text) ) + .setContentIntent( pendIntent ) .build(); } diff --git a/xwords4/android/app/src/main/res/values/strings.xml b/xwords4/android/app/src/main/res/values/strings.xml index 6ab747561..e5d84f35f 100644 --- a/xwords4/android/app/src/main/res/values/strings.xml +++ b/xwords4/android/app/src/main/res/values/strings.xml @@ -2028,6 +2028,7 @@ Enable background Bluetooth Always listen for Bluetooth messages + Accepting Bluetooth messages… Confirm your SMS plan