mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-25 22:36:17 +03:00
Battery optimization hints
This commit is contained in:
parent
214b69ce9d
commit
cb32714c82
2 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,7 @@ public class ExceptionDialogFragment extends AppCompatDialogFragment {
|
||||||
} else if (t instanceof NextcloudFilesAppNotSupportedException) {
|
} else if (t instanceof NextcloudFilesAppNotSupportedException) {
|
||||||
adapter.add(R.string.error_dialog_tip_files_outdated);
|
adapter.add(R.string.error_dialog_tip_files_outdated);
|
||||||
} else if (t instanceof NextcloudApiNotRespondingException) {
|
} else if (t instanceof NextcloudApiNotRespondingException) {
|
||||||
|
adapter.add(R.string.error_dialog_tip_disable_battery_optimizations);
|
||||||
adapter.add(R.string.error_dialog_tip_files_force_stop);
|
adapter.add(R.string.error_dialog_tip_files_force_stop);
|
||||||
adapter.add(R.string.error_dialog_tip_files_delete_storage);
|
adapter.add(R.string.error_dialog_tip_files_delete_storage);
|
||||||
} else if (t instanceof SocketTimeoutException || t instanceof ConnectException) {
|
} else if (t instanceof SocketTimeoutException || t instanceof ConnectException) {
|
||||||
|
|
|
@ -182,6 +182,7 @@
|
||||||
<string name="error_dialog_we_need_info">We need the following technical information to help you:</string>
|
<string name="error_dialog_we_need_info">We need the following technical information to help you:</string>
|
||||||
<string name="error_dialog_server_app_enabled">Please make sure you have installed and enabled the "Notes" app on your server.</string>
|
<string name="error_dialog_server_app_enabled">Please make sure you have installed and enabled the "Notes" app on your server.</string>
|
||||||
<string name="error_dialog_redirect">Your server did respond with a HTTP 302 status code, which implies, that you do not have installed the Notes app on your server or something is misconfigured. This can be caused by custom overrides in a .htaccess-file or by Nextcloud apps like OID Client.</string>
|
<string name="error_dialog_redirect">Your server did respond with a HTTP 302 status code, which implies, that you do not have installed the Notes app on your server or something is misconfigured. This can be caused by custom overrides in a .htaccess-file or by Nextcloud apps like OID Client.</string>
|
||||||
|
<string name="error_dialog_tip_disable_battery_optimizations">Please disable all battery optimizations for Nextcloud and the Notes app.</string>
|
||||||
<string name="added_content">Added "%1$s"</string>
|
<string name="added_content">Added "%1$s"</string>
|
||||||
<string name="shared_text_empty">Shared text was empty</string>
|
<string name="shared_text_empty">Shared text was empty</string>
|
||||||
<string name="append_to_note">Append to note</string>
|
<string name="append_to_note">Append to note</string>
|
||||||
|
|
Loading…
Reference in a new issue