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

Commit 5a242ec2 authored by Adam Cohen's avatar Adam Cohen
Browse files

Added some pieces for Wallpaper previews

Change-Id: I48cd80108e5a555a1ca6180e29f67a87e05e9683
parent 2095a6d6
Loading
Loading
Loading
Loading
+23 −1
Original line number Diff line number Diff line
@@ -8886,6 +8886,17 @@
 visibility="public"
>
</field>
<field name="staticWallpaperPreview"
 type="int"
 transient="false"
 volatile="false"
 value="16843584"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="stepSize"
 type="int"
 transient="false"
@@ -36149,6 +36160,17 @@
 visibility="public"
>
</field>
<field name="WALLPAPER_PREVIEW_META_DATA"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;android.wallpaper.preview&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
</class>
</package>
<package name="android.app.admin"
@@ -250950,7 +250972,7 @@
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="arg0" type="T">
<parameter name="t" type="T">
</parameter>
</method>
</interface>
+7 −1
Original line number Diff line number Diff line
@@ -63,6 +63,12 @@ public class WallpaperManager {
    public static final String ACTION_LIVE_WALLPAPER_CHOOSER
            = "android.service.wallpaper.LIVE_WALLPAPER_CHOOSER";

    /**
     * Manifest entry for activities that respond to {@link Intent#ACTION_SET_WALLPAPER}
     * which allows them to provide a custom large icon associated with this action.
     */
    public static final String WALLPAPER_PREVIEW_META_DATA = "android.wallpaper.preview";

    /**
     * Command for {@link #sendWallpaperCommand}: reported by the wallpaper
     * host when the user taps on an empty area (not performing an action
+12 −0
Original line number Diff line number Diff line
@@ -4281,6 +4281,18 @@
        <attr name="autoAdvanceViewId" format="reference" />
    </declare-styleable>

    <!-- =============================== -->
    <!-- Wallpaper preview attributes    -->
    <!-- =============================== -->
    <eat-comment />

    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
         describes a wallpaper preview. -->
    <declare-styleable name="WallpaperPreviewInfo">
        <!-- A resource id of a static drawable. -->
        <attr name="staticWallpaperPreview" format="reference" />
    </declare-styleable>

    <!-- =============================== -->
    <!-- App package class attributes -->
    <!-- =============================== -->
+1 −0
Original line number Diff line number Diff line
@@ -1398,6 +1398,7 @@
  <public type="attr" name="buttonBarStyle" />
  <public type="attr" name="buttonBarButtonStyle" />
  <public type="attr" name="segmentedButtonStyle" />
  <public type="attr" name="staticWallpaperPreview" />

  <public type="anim" name="animator_fade_in" />
  <public type="anim" name="animator_fade_out" />