|
@@ -514,6 +514,7 @@ public class ExpandableUploadListAdapter extends BaseExpandableListAdapter imple
|
|
* @return Text describing the status of the given upload.
|
|
* @return Text describing the status of the given upload.
|
|
*/
|
|
*/
|
|
private String getStatusText(OCUpload upload) {
|
|
private String getStatusText(OCUpload upload) {
|
|
|
|
+
|
|
String status;
|
|
String status;
|
|
switch (upload.getUploadStatus()) {
|
|
switch (upload.getUploadStatus()) {
|
|
|
|
|
|
@@ -596,6 +597,9 @@ public class ExpandableUploadListAdapter extends BaseExpandableListAdapter imple
|
|
// should not get here ; status should be UPLOAD_SUCCESS
|
|
// should not get here ; status should be UPLOAD_SUCCESS
|
|
status = mParentActivity.getString(R.string.uploads_view_upload_status_succeeded);
|
|
status = mParentActivity.getString(R.string.uploads_view_upload_status_succeeded);
|
|
break;
|
|
break;
|
|
|
|
+ case MAINTENANCE_MODE:
|
|
|
|
+ status = mParentActivity.getString(R.string.maintenance_mode);
|
|
|
|
+ break;
|
|
default:
|
|
default:
|
|
status = "Naughty devs added a new fail result but no description for the user";
|
|
status = "Naughty devs added a new fail result but no description for the user";
|
|
break;
|
|
break;
|