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

Commit c7f5049a authored by Clark Scheff's avatar Clark Scheff
Browse files

Themes: Add URI for querying previews of applied components.

Change-Id: I97417901f3b03fc82df5a823970991ddd8092df2
parent e47f497d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -380,6 +380,14 @@ public class ThemesContract {
    public static class PreviewColumns {
        public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "previews");

        /**
         * Uri for retrieving the previews for the currently applied components.
         * Querying the themes provider using this URI will return a cursor with a single row
         * containing all the previews for the components that are currently applied.
         */
        public static final Uri APPLIED_URI = Uri.withAppendedPath(AUTHORITY_URI,
                "applied_previews");

        /**
         * The unique ID for a row.
         * <P>Type: INTEGER (long)</P>