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

Commit 4afde4fd authored by Dmitri Plotnikov's avatar Dmitri Plotnikov
Browse files

Hiding the AsyncTaskLoader.waitForLoader method

I introduced this method a couple of weeks ago,
but then we had a chat with Dianne and she made
a good point that rather than having this behavior
on AsyncTaskLoader, we should have it on LoaderManager
and then it will cover all kinds of loaders,
not just the ones inheriting from AsyncTaskLoader.
She suggested that we postpone that work until
after Honeycomb.

Change-Id: I1939956296cddb678791ba652ab5f4a0dd45eea1
parent 60610d24
Loading
Loading
Loading
Loading
+0 −11
Original line number Original line Diff line number Diff line
@@ -43822,17 +43822,6 @@
<parameter name="delayMS" type="long">
<parameter name="delayMS" type="long">
</parameter>
</parameter>
</method>
</method>
<method name="waitForLoader"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
</class>
</class>
<class name="BroadcastReceiver"
<class name="BroadcastReceiver"
 extends="java.lang.Object"
 extends="java.lang.Object"
+0 −11
Original line number Original line Diff line number Diff line
@@ -43822,17 +43822,6 @@
<parameter name="delayMS" type="long">
<parameter name="delayMS" type="long">
</parameter>
</parameter>
</method>
</method>
<method name="waitForLoader"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
</class>
</class>
<class name="BroadcastReceiver"
<class name="BroadcastReceiver"
 extends="java.lang.Object"
 extends="java.lang.Object"
+3 −1
Original line number Original line Diff line number Diff line
@@ -245,6 +245,8 @@ public abstract class AsyncTaskLoader<D> extends Loader<D> {
     * thread would cause a deadlock.
     * thread would cause a deadlock.
     * <p>
     * <p>
     * Use for testing only.  <b>Never</b> call this from a UI thread.
     * Use for testing only.  <b>Never</b> call this from a UI thread.
     *
     * @hide
     */
     */
    public void waitForLoader() {
    public void waitForLoader() {
        LoadTask task = mTask;
        LoadTask task = mTask;