diff options
author | pacien | 2020-12-08 18:03:20 +0100 |
---|---|---|
committer | pacien | 2020-12-08 18:03:20 +0100 |
commit | 355251694d63640f028f3e2c17235d12a8573df6 (patch) | |
tree | 966ffd45ec29797afb440ead00586f4fcdf15589 /app/src/main/res/values | |
parent | 2760703484f9b12f8c21c395915f9780b1ae7e9e (diff) | |
download | tincapp-355251694d63640f028f3e2c17235d12a8573df6.tar.gz |
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.
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r-- | app/src/main/res/values/strings.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index cae7fe5..6c1a934 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml | |||
@@ -75,6 +75,10 @@ | |||
75 | <string name="notification_error_message_network_config_invalid_format">Invalid network configuration in network.conf:\n%1$s</string> | 75 | <string name="notification_error_message_network_config_invalid_format">Invalid network configuration in network.conf:\n%1$s</string> |
76 | <string name="notification_error_message_could_not_decrypt_private_keys_format">Could not decrypt private keys:\n%1$s</string> | 76 | <string name="notification_error_message_could_not_decrypt_private_keys_format">Could not decrypt private keys:\n%1$s</string> |
77 | 77 | ||
78 | <string name="notification_config_access_channel_name">Configuration access</string> | ||
79 | <string name="notification_config_access_server_running_title">Configuration access server active</string> | ||
80 | <string name="notification_config_access_server_running_message">The configuration directory is accessible through FTP.</string> | ||
81 | |||
78 | <!-- Start activity --> | 82 | <!-- Start activity --> |
79 | <string name="start_activity_menu_configure">Configure</string> | 83 | <string name="start_activity_menu_configure">Configure</string> |
80 | <string name="start_network_list_title">Connect to network</string> | 84 | <string name="start_network_list_title">Connect to network</string> |
@@ -85,7 +89,7 @@ | |||
85 | <string name="configure_tools_message_invalid_network_name">Invalid network name.</string> | 89 | <string name="configure_tools_message_invalid_network_name">Invalid network name.</string> |
86 | <string name="configure_tools_message_network_configuration_written">Network configuration written.</string> | 90 | <string name="configure_tools_message_network_configuration_written">Network configuration written.</string> |
87 | 91 | ||
88 | <string name="configure_activity_title_configuration_server">Configuration server</string> | 92 | <string name="configure_activity_title_configuration_access">Configuration access</string> |
89 | <string name="configure_configuration_server_ftp_access">FTP access</string> | 93 | <string name="configure_configuration_server_ftp_access">FTP access</string> |
90 | <string name="configure_configuration_server_ftp_access_endpoint_format">User: %1$s, password: %2$s, port: %3$d</string> | 94 | <string name="configure_configuration_server_ftp_access_endpoint_format">User: %1$s, password: %2$s, port: %3$d</string> |
91 | <string name="configure_configuration_server_ftp_access_not_active">Not active</string> | 95 | <string name="configure_configuration_server_ftp_access_not_active">Not active</string> |