diff options
| author | 2017-08-03 12:42:49 -0700 | |
|---|---|---|
| committer | 2017-08-03 12:43:33 -0700 | |
| commit | 89a32dbac47d17fed0737acb72ff150228799e9d (patch) | |
| tree | 25505417b8cc2477de3a14e4f4237d44ee0a0bd0 | |
| parent | 7e4b4c5fc9b28d8fb84199823b6cebda49c40be1 (diff) | |
Display size when size equals 0.
Currently, we only display size when size > 0. Now, we display when size
>= 0.
Bug: 64073810
Test: In place
Change-Id: I18c792228df8972f12f48d0f29bc674b6d4c840c
| -rw-r--r-- | src/com/android/documentsui/inspector/DetailsView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/documentsui/inspector/DetailsView.java b/src/com/android/documentsui/inspector/DetailsView.java index 25876efa3..75b3cac67 100644 --- a/src/com/android/documentsui/inspector/DetailsView.java +++ b/src/com/android/documentsui/inspector/DetailsView.java @@ -54,7 +54,7 @@ public class DetailsView extends TableView implements DetailsDisplay { // TODO: Each of these rows need to be removed if the condition is false and previously // set. - if (doc.size > 0 && !doc.isDirectory()) { + if (doc.size >= 0 && !doc.isDirectory()) { put(R.string.sort_dimension_size, Formatter.formatFileSize(getContext(), doc.size)); } |