Add previewImage stylable to Dreams.

This will allow dream developers to specify a previewImage of the
screensaver, which will be shown to users in the new Settings UI.

Bug: 211662811
Test: locally on device
Change-Id: I20379f18559a2231839520450fe56fee6f6f55a3
This commit is contained in:
Lucas Silva
2021-12-22 19:42:36 +00:00
parent 0025516675
commit 87e7cfbc19

View File

@@ -8440,6 +8440,8 @@
<!-- Component name of an activity that allows the user to modify
the settings for this dream. -->
<attr name="settingsActivity" />
<!-- A preview, in a drawable resource id, of what the Dream will look like. -->
<attr name="previewImage" format="reference" />
</declare-styleable>
<!-- Use <code>trust-agent</code> as the root tag of the XML resource that