Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88a1719f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Updating MediaStore to support localized audio titles"

parents a7c958b3 8731354e
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -80,6 +80,13 @@ public final class MediaStore {
     */
    public static final String UNHIDE_CALL = "unhide";

    /**
     * The method name used by the media scanner service to reload all localized ringtone titles due
     * to a locale change.
     * @hide
     */
    public static final String RETRANSLATE_CALL = "update_titles";

    /**
     * This is for internal use by the media scanner only.
     * Name of the (optional) Uri parameter that determines whether to skip deleting
@@ -1358,6 +1365,18 @@ public final class MediaStore {
             * @hide
             */
            public static final String GENRE = "genre";

            /**
             * The resource URI of a localized title, if any
             * <P>Type: TEXT</P>
             * Conforms to this pattern:
             *   Scheme: {@link ContentResolver.SCHEME_ANDROID_RESOURCE}
             *   Authority: Package Name of ringtone title provider
             *   First Path Segment: Type of resource (must be "string")
             *   Second Path Segment: Resource ID of title
             * @hide
             */
            public static final String TITLE_RESOURCE_URI = "title_resource_uri";
        }

        /**