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

Commit 0e2de6d7 authored by Adam Cohen's avatar Adam Cohen
Browse files

Addressing API Review docs bugs:

->Issue 3370313
->Issue 3370403
->Issue 3370328
->kthx, bye

Change-Id: I2d1962c27b3ba856a0b4632d335271300bab45eb
parent e65b0f8d
Loading
Loading
Loading
Loading
+11 −11
Original line number Diff line number Diff line
@@ -240630,6 +240630,17 @@
 visibility="public"
>
</method>
<method name="fyiWillBeAdvancedByHostKThx"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="getAdapter"
 return="android.widget.Adapter"
 abstract="false"
@@ -240885,17 +240896,6 @@
 visibility="public"
>
</method>
<method name="willBeAdvancedByHost"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
</class>
<class name="AdapterViewFlipper"
 extends="android.widget.AdapterViewAnimator"
+12 −12
Original line number Diff line number Diff line
@@ -240651,6 +240651,17 @@
 visibility="public"
>
</method>
<method name="fyiWillBeAdvancedByHostKThx"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="getAdapter"
 return="android.widget.Adapter"
 abstract="false"
@@ -240906,17 +240917,6 @@
 visibility="public"
>
</method>
<method name="willBeAdvancedByHost"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
</class>
<class name="AdapterViewFlipper"
 extends="android.widget.AdapterViewAnimator"
@@ -260347,7 +260347,7 @@
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="arg0" type="T">
<parameter name="t" type="T">
</parameter>
</method>
</interface>
+11 −1
Original line number Diff line number Diff line
@@ -981,11 +981,21 @@ public abstract class AdapterViewAnimator extends AdapterView<Adapter>
        // items from the Adapter.
    }

    /**
     * Called by an {@link android.appwidget.AppWidgetHost} in order to advance the current view when
     * it is being used within an app widget.
     */
    public void advance() {
        showNext();
    }

    public void willBeAdvancedByHost() {
    /**
     * Called by an {@link android.appwidget.AppWidgetHost} to indicate that it will be
     * automatically advancing the views of this {@link AdapterViewAnimator} by calling
     * {@link AdapterViewAnimator#advance()} at some point in the future. This allows subclasses to
     * perform any required setup, for example, to stop automatically advancing their children.
     */
    public void fyiWillBeAdvancedByHostKThx() {
    }

    @Override
+7 −1
Original line number Diff line number Diff line
@@ -258,8 +258,14 @@ public class AdapterViewFlipper extends AdapterViewAnimator {
        }
    };

    /**
     * Called by an {@link android.appwidget.AppWidgetHost} to indicate that it will be
     * automatically advancing the views of this {@link AdapterViewFlipper} by calling
     * {@link AdapterViewFlipper#advance()} at some point in the future. This allows
     * {@link AdapterViewFlipper} to prepare by no longer Advancing its children.
     */
    @Override
    public void willBeAdvancedByHost() {
    public void fyiWillBeAdvancedByHostKThx() {
        mAdvancedByHost = true;
        updateRunning(false);
    }
+1 −1
Original line number Diff line number Diff line
@@ -34,5 +34,5 @@ public interface Advanceable {
     * Called by the AppWidgetHost once before it begins to call advance(), allowing the
     * collection to do any required setup.
     */
    public void willBeAdvancedByHost();
    public void fyiWillBeAdvancedByHostKThx();
}
Loading