From 355251694d63640f028f3e2c17235d12a8573df6 Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 8 Dec 2020 18:03:20 +0100 Subject: ConfigurationAccessService: prevent service from being stopped when app loses focus This makes the ConfigurationAccessService (formerly ConfigurationFtpService) start in foreground through the use of a persistent notification so that it isn't stopped by the system after the app loses the focus on the user's screen, which happens when the user switches to an FTP client application on the same device. --- app/src/main/res/layout/configure_activity.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/main/res/layout/configure_activity.xml') diff --git a/app/src/main/res/layout/configure_activity.xml b/app/src/main/res/layout/configure_activity.xml index 2fde4a2..08f29af 100644 --- a/app/src/main/res/layout/configure_activity.xml +++ b/app/src/main/res/layout/configure_activity.xml @@ -30,11 +30,11 @@ + android:text="@string/configure_activity_title_configuration_access"/> -- cgit v1.2.3