Unused resources removed

This commit is contained in:
philips77
2020-05-26 13:44:54 +02:00
parent 1a0980ec1c
commit 8658a56161
11 changed files with 4 additions and 169 deletions

View File

@@ -164,7 +164,7 @@ public class CSCService extends BleProfileService implements CSCManagerCallbacks
private void startForegroundService(){
// when the activity closes we need to show the notification that user is connected to the peripheral sensor
// We start the service as a foreground service as Android 8.0 (Oreo) onwards kills any running background services
final Notification notification = createNotification(R.string.uart_notification_connected_message, 0);
final Notification notification = createNotification(R.string.csc_notification_connected_message, 0);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
startForeground(NOTIFICATION_ID, notification);
} else {

View File

@@ -161,7 +161,7 @@ public class HTService extends BleProfileService implements HTManagerCallbacks {
private void startForegroundService(){
// when the activity closes we need to show the notification that user is connected to the peripheral sensor
// We start the service as a foreground service as Android 8.0 (Oreo) onwards kills any running background services
final Notification notification = createNotification(R.string.uart_notification_connected_message, 0);
final Notification notification = createNotification(R.string.hts_notification_connected_message, 0);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
startForeground(NOTIFICATION_ID, notification);
} else {

View File

@@ -210,7 +210,7 @@ public class RSCService extends BleProfileService implements RSCManagerCallbacks
private void startForegroundService(){
// when the activity closes we need to show the notification that user is connected to the peripheral sensor
// We start the service as a foreground service as Android 8.0 (Oreo) onwards kills any running background services
final Notification notification = createNotification(R.string.uart_notification_connected_message, 0);
final Notification notification = createNotification(R.string.rsc_notification_connected_message, 0);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
startForeground(NOTIFICATION_ID, notification);
} else {

View File

@@ -137,7 +137,7 @@ public class TemplateService extends BleProfileService implements TemplateManage
private void startForegroundService(){
// when the activity closes we need to show the notification that user is connected to the peripheral sensor
// We start the service as a foreground service as Android 8.0 (Oreo) onwards kills any running background services
final Notification notification = createNotification(R.string.uart_notification_connected_message, 0);
final Notification notification = createNotification(R.string.template_notification_connected_message, 0);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
startForeground(NOTIFICATION_ID, notification);
} else {