OSDN Git Service

Documentation: Add trailing '/' to MediaColumns.RELATIVE_PATH
authorshafik <shafik@google.com>
Fri, 17 May 2019 16:23:23 +0000 (17:23 +0100)
committerShafik Nassar <shafik@google.com>
Mon, 20 May 2019 14:26:37 +0000 (14:26 +0000)
Fix javadoc for MediaStore.MediaColumns.RELATIVE_PATH

Test: atest MediaProviderTest
Fixes: 132631113
Change-Id: I6f379b2d304a43198513341adcc3bafa2f00b0c1

core/java/android/provider/MediaStore.java

index aa774a6..bbf0f2f 100644 (file)
@@ -1077,7 +1077,7 @@ public final class MediaStore {
          * Relative path of this media item within the storage device where it
          * is persisted. For example, an item stored at
          * {@code /storage/0000-0000/DCIM/Vacation/IMG1024.JPG} would have a
-         * path of {@code DCIM/Vacation}.
+         * path of {@code DCIM/Vacation/}.
          * <p>
          * This value should only be used for organizational purposes, and you
          * should not attempt to construct or access a raw filesystem path using