Show maintenance mode message while authenticating

# Conflicts:
#	src/com/owncloud/android/authentication/AuthenticatorActivity.java
This commit is contained in:
davigonz 2016-12-23 13:21:43 +01:00 committed by AndyScherzinger
parent 2238a09915
commit 7c56163c82
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -124,6 +124,7 @@ public class ErrorMessageAdapter {
// Error --> No permissions
message = String.format(res.getString(R.string.forbidden_permissions),
res.getString(R.string.forbidden_permissions_delete));
} else if (result.getCode() == ResultCode.MAINTENANCE_MODE) {
message = res.getString(R.string.maintenance_mode);
@ -299,7 +300,7 @@ public class ErrorMessageAdapter {
} else if (result.getCode() == ResultCode.FORBIDDEN) {
message = String.format(res.getString(R.string.forbidden_permissions),
res.getString(R.string.forbidden_permissions_copy));
} else if (result.getCode() == ResultCode.MAINTENANCE_MODE) {
message = res.getString(R.string.maintenance_mode);