OSDN Git Service

Use the private Download Manager APIs.
authorJean-Baptiste Queru <jbq@google.com>
Fri, 15 Jan 2010 00:09:03 +0000 (16:09 -0800)
committerJean-Baptiste Queru <jbq@google.com>
Fri, 15 Jan 2010 18:33:32 +0000 (10:33 -0800)
commit1e5bad97ca8fb9b12501f4f747941d02f03e1362
tree648214cd2fd4117ff1acafe870955aecbc30754b
parent2336dae2a336f519ce64d0d7f5837b53d0d3d2c6
Use the private Download Manager APIs.

This boils down to using Downloads.Impl instead of Downloads

The APIs that were being used so far are going to disappear
to be replaced by a new set of APIs, but in order for the browser
to be able to continue using the old APIs a new copy of those APIs
was created "on the side" so that the browser doesn't need to
change much.

Bug: 2245521

Change-Id: I33c526331cce006710b1f934a4aeb64cdb95d62e
src/com/android/browser/BrowserActivity.java
src/com/android/browser/BrowserDownloadAdapter.java
src/com/android/browser/BrowserDownloadPage.java
src/com/android/browser/FetchUrlMimeType.java