OSDN Git Service

Remove GROUP_ID; not actively being used by apps.
authorJeff Sharkey <jsharkey@android.com>
Wed, 17 Apr 2019 19:34:44 +0000 (13:34 -0600)
committerJeff Sharkey <jsharkey@android.com>
Wed, 17 Apr 2019 19:35:16 +0000 (13:35 -0600)
Bug: 130744218
Test: none
Change-Id: I2917b84ffcc698d3cbffe7dfbd49c76b21c46515

api/current.txt
api/removed.txt
core/java/android/provider/MediaStore.java

index f602c9a..b28be34 100644 (file)
@@ -38513,7 +38513,6 @@ package android.provider {
     field public static final String DISPLAY_NAME = "_display_name";
     field public static final String DOCUMENT_ID = "document_id";
     field public static final String DURATION = "duration";
-    field public static final String GROUP_ID = "group_id";
     field public static final String HEIGHT = "height";
     field public static final String INSTANCE_ID = "instance_id";
     field public static final String IS_PENDING = "is_pending";
index 8836326..ab5e7e5 100644 (file)
@@ -539,6 +539,7 @@ package android.provider {
   }
 
   public static interface MediaStore.MediaColumns extends android.provider.BaseColumns {
+    field @Deprecated public static final String GROUP_ID = "group_id";
     field @Deprecated public static final String HASH = "_hash";
     field @Deprecated public static final String IS_TRASHED = "is_trashed";
     field @Deprecated public static final String PRIMARY_DIRECTORY = "primary_directory";
index bff8328..c50d003 100644 (file)
@@ -1150,8 +1150,11 @@ public final class MediaStore {
          * {@code IMG1024.BURST001.JPG} and {@code IMG1024.BURST002.JPG}
          * will have the same {@link #GROUP_ID} because the first portion of
          * their filenames is identical.
+         *
+         * @removed
          */
         @Column(value = Cursor.FIELD_TYPE_INTEGER, readOnly = true)
+        @Deprecated
         public static final String GROUP_ID = "group_id";
 
         /**