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

Commit aaaf1232 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru
Browse files

Hide download manager.

Not ready for public consumption yet.

Bug: 25445123
Change-Id: I8be1a4aa24581c6d272b087439f3e22ef1fc29d2
parent 9c4750a6
Loading
Loading
Loading
Loading
+0 −503
Original line number Diff line number Diff line
@@ -88024,509 +88024,6 @@
>
</field>
</class>
<class name="Downloads"
 extends="java.lang.Object"
 abstract="false"
 static="false"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
<method name="isStatusError"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="true"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="status" type="int">
</parameter>
</method>
<method name="isStatusSuccess"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="true"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="status" type="int">
</parameter>
</method>
<field name="ACTION_DOWNLOAD_COMPLETED"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;android.intent.action.DOWNLOAD_COMPLETED&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="COLUMN_NOTIFICATION_EXTRAS"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;notificationextras&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="DOWNLOAD_DESTINATION_CACHE"
 type="int"
 transient="false"
 volatile="false"
 value="2"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="DOWNLOAD_DESTINATION_CACHE_PURGEABLE"
 type="int"
 transient="false"
 volatile="false"
 value="3"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="DOWNLOAD_DESTINATION_EXTERNAL"
 type="int"
 transient="false"
 volatile="false"
 value="1"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="DOWNLOAD_ID_INVALID"
 type="long"
 transient="false"
 volatile="false"
 value="-1L"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="STATUS_DEVICE_NOT_FOUND_ERROR"
 type="int"
 transient="false"
 volatile="false"
 value="499"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="STATUS_INSUFFICIENT_SPACE_ERROR"
 type="int"
 transient="false"
 volatile="false"
 value="498"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="STATUS_NOT_ACCEPTABLE"
 type="int"
 transient="false"
 volatile="false"
 value="406"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="STATUS_PENDING"
 type="int"
 transient="false"
 volatile="false"
 value="190"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="STATUS_RUNNING"
 type="int"
 transient="false"
 volatile="false"
 value="192"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="STATUS_SUCCESS"
 type="int"
 transient="false"
 volatile="false"
 value="200"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="STATUS_UNHANDLED_REDIRECT"
 type="int"
 transient="false"
 volatile="false"
 value="493"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="STATUS_UNKNOWN_ERROR"
 type="int"
 transient="false"
 volatile="false"
 value="491"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
</class>
<class name="Downloads.ById"
 extends="android.net.Downloads.DownloadBase"
 abstract="false"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
<method name="deleteDownload"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="true"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="context" type="android.content.Context">
</parameter>
<parameter name="downloadId" type="long">
</parameter>
</method>
<method name="getMimeTypeForId"
 return="java.lang.String"
 abstract="false"
 native="false"
 synchronized="false"
 static="true"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="context" type="android.content.Context">
</parameter>
<parameter name="downloadId" type="long">
</parameter>
</method>
<method name="getStatus"
 return="android.net.Downloads.StatusInfo"
 abstract="false"
 native="false"
 synchronized="false"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="context" type="android.content.Context">
</parameter>
<parameter name="downloadId" type="long">
</parameter>
</method>
<method name="openDownload"
 return="android.os.ParcelFileDescriptor"
 abstract="false"
 native="false"
 synchronized="false"
 static="true"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="context" type="android.content.Context">
</parameter>
<parameter name="downloadId" type="long">
</parameter>
<parameter name="mode" type="java.lang.String">
</parameter>
<exception name="FileNotFoundException" type="java.io.FileNotFoundException">
</exception>
</method>
<method name="openDownloadStream"
 return="java.io.InputStream"
 abstract="false"
 native="false"
 synchronized="false"
 static="true"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="context" type="android.content.Context">
</parameter>
<parameter name="downloadId" type="long">
</parameter>
<exception name="FileNotFoundException" type="java.io.FileNotFoundException">
</exception>
<exception name="IOException" type="java.io.IOException">
</exception>
</method>
</class>
<class name="Downloads.ByUri"
 extends="android.net.Downloads.DownloadBase"
 abstract="false"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
<method name="getProgressColumnCurrentBytes"
 return="int"
 abstract="false"
 native="false"
 synchronized="false"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="getProgressColumnId"
 return="int"
 abstract="false"
 native="false"
 synchronized="false"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="getProgressColumnTotalBytes"
 return="int"
 abstract="false"
 native="false"
 synchronized="false"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="getProgressCursor"
 return="android.database.Cursor"
 abstract="false"
 native="false"
 synchronized="false"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="context" type="android.content.Context">
</parameter>
<parameter name="id" type="long">
</parameter>
</method>
<method name="getStatus"
 return="android.net.Downloads.StatusInfo"
 abstract="false"
 native="false"
 synchronized="false"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="context" type="android.content.Context">
</parameter>
<parameter name="url" type="java.lang.String">
</parameter>
<parameter name="redownload_threshold" type="long">
</parameter>
</method>
<method name="removeAllDownloadsByPackage"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="context" type="android.content.Context">
</parameter>
<parameter name="notification_package" type="java.lang.String">
</parameter>
<parameter name="notification_class" type="java.lang.String">
</parameter>
</method>
</class>
<class name="Downloads.DownloadBase"
 extends="java.lang.Object"
 abstract="false"
 static="true"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<method name="startDownloadByUri"
 return="long"
 abstract="false"
 native="false"
 synchronized="false"
 static="true"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="context" type="android.content.Context">
</parameter>
<parameter name="url" type="java.lang.String">
</parameter>
<parameter name="cookieData" type="java.lang.String">
</parameter>
<parameter name="showDownload" type="boolean">
</parameter>
<parameter name="downloadDestination" type="int">
</parameter>
<parameter name="allowRoaming" type="boolean">
</parameter>
<parameter name="skipIntegrityCheck" type="boolean">
</parameter>
<parameter name="title" type="java.lang.String">
</parameter>
<parameter name="notification_package" type="java.lang.String">
</parameter>
<parameter name="notification_class" type="java.lang.String">
</parameter>
<parameter name="notification_extras" type="java.lang.String">
</parameter>
</method>
</class>
<class name="Downloads.StatusInfo"
 extends="java.lang.Object"
 abstract="false"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
<constructor name="Downloads.StatusInfo"
 type="android.net.Downloads.StatusInfo"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</constructor>
<method name="isComplete"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="isSuccessful"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<field name="bytesSoFar"
 type="long"
 transient="false"
 volatile="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="completed"
 type="boolean"
 transient="false"
 volatile="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="filename"
 type="java.lang.String"
 transient="false"
 volatile="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="id"
 type="long"
 transient="false"
 volatile="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="statusCode"
 type="int"
 transient="false"
 volatile="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</field>
</class>
<class name="LocalServerSocket"
 extends="java.lang.Object"
 abstract="false"
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ import java.io.InputStream;
/**
 * The Download Manager
 *
 *
 * @hide
 */
public final class Downloads {