<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android_packages_providers_DownloadProvider/tests/permission, branch cm-14.1_old</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_providers_DownloadProvider/'/>
<entry>
<title>Make DownloadProvider accessible for public API usage.</title>
<updated>2010-07-23T01:38:51+00:00</updated>
<author>
<name>Steve Howard</name>
<email>showard@google.com</email>
</author>
<published>2010-07-22T18:33:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_providers_DownloadProvider/commit/?id=b06b739b078ce4b00600487cfec31659647bf31f'/>
<id>b06b739b078ce4b00600487cfec31659647bf31f</id>
<content type='text'>
This change removes the requirement that apps have the
ACCESS_DOWNLOAD_MANAGER permission in order to access
DownloadProvider.  This enables the public API to work.  Instead,
DownloadProvider enforces the new permissions model for the public
API:
* insert() requires INTERNET permission
* insert() checks that input fits within the restricted input allowed
  for the public API
* insert() also strictly checks the file URI provided with
  DESTINATION_FILE_URI (and still requires WRITE_EXTERNAL_STORAGE
  permission if that is supplied)

Note that if an app has the ACCESS_DOWNLOAD_MANAGER permission, legacy
behavior is retained.

I've added a test to cover this new access, and updated the existing
permissions tests.

I also fixed a bug in WHERE clause construction in update() and
delete(), and refactored the code to eliminate duplication.

Change-Id: I53a08df137b35c2788c36350276c9dff24858af1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change removes the requirement that apps have the
ACCESS_DOWNLOAD_MANAGER permission in order to access
DownloadProvider.  This enables the public API to work.  Instead,
DownloadProvider enforces the new permissions model for the public
API:
* insert() requires INTERNET permission
* insert() checks that input fits within the restricted input allowed
  for the public API
* insert() also strictly checks the file URI provided with
  DESTINATION_FILE_URI (and still requires WRITE_EXTERNAL_STORAGE
  permission if that is supplied)

Note that if an app has the ACCESS_DOWNLOAD_MANAGER permission, legacy
behavior is retained.

I've added a test to cover this new access, and updated the existing
permissions tests.

I also fixed a bug in WHERE clause construction in update() and
delete(), and refactored the code to eliminate duplication.

Change-Id: I53a08df137b35c2788c36350276c9dff24858af1
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "fix permissons/targets in download provider tests"</title>
<updated>2010-07-16T22:47:04+00:00</updated>
<author>
<name>Guang Zhu</name>
<email>guangzhu@google.com</email>
</author>
<published>2010-07-16T22:47:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_providers_DownloadProvider/commit/?id=abb997df34680a8b2b733acbc2313991226c69d6'/>
<id>abb997df34680a8b2b733acbc2313991226c69d6</id>
<content type='text'>
This reverts commit c7717b4d1e6cf51ab8d8de03fe23dcad2dc97f52.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit c7717b4d1e6cf51ab8d8de03fe23dcad2dc97f52.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix permissons/targets in download provider tests</title>
<updated>2010-07-15T19:22:35+00:00</updated>
<author>
<name>Guang Zhu</name>
<email>guangzhu@google.com</email>
</author>
<published>2010-07-15T19:22:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_providers_DownloadProvider/commit/?id=c7717b4d1e6cf51ab8d8de03fe23dcad2dc97f52'/>
<id>c7717b4d1e6cf51ab8d8de03fe23dcad2dc97f52</id>
<content type='text'>
* permission tests package should be signed with the same cert as
  download provider itself
* permission tests should not target on itself

Change-Id: Ic4307119ed6c41cbffd98fe165ebc360e2b38c8e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* permission tests package should be signed with the same cert as
  download provider itself
* permission tests should not target on itself

Change-Id: Ic4307119ed6c41cbffd98fe165ebc360e2b38c8e
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the private legacy API</title>
<updated>2010-01-15T00:15:06+00:00</updated>
<author>
<name>Jean-Baptiste Queru</name>
<email>jbq@google.com</email>
</author>
<published>2010-01-08T00:33:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_providers_DownloadProvider/commit/?id=7dd92fa94df0a13b4592ee636b7aa2b605f6b473'/>
<id>7dd92fa94df0a13b4592ee636b7aa2b605f6b473</id>
<content type='text'>
The public API is getting deeply reworked for forward compatibility,
but since the Download Manager and the Browser need to continue using
the old API, a separate copy is being kept on the side.

Bug: 2245521

Change-Id: I85eff6ba9efc68600aa80e8dffa6720b0f2ed155
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The public API is getting deeply reworked for forward compatibility,
but since the Download Manager and the Browser need to continue using
the old API, a separate copy is being kept on the side.

Bug: 2245521

Change-Id: I85eff6ba9efc68600aa80e8dffa6720b0f2ed155
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename column reference in download provider permission test.</title>
<updated>2009-06-16T19:26:26+00:00</updated>
<author>
<name>Brett Chabot</name>
<email>brettchabot@google.com</email>
</author>
<published>2009-06-16T19:26:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_providers_DownloadProvider/commit/?id=a7f9ec8274d648a5869308b8a8f322abf6d888fa'/>
<id>a7f9ec8274d648a5869308b8a8f322abf6d888fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>temp fix for build break</title>
<updated>2009-06-16T17:09:25+00:00</updated>
<author>
<name>The Android Open Source Project</name>
<email>initial-contribution@android.com</email>
</author>
<published>2009-06-16T17:09:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_providers_DownloadProvider/commit/?id=76e2667ef95583ea72ad1280bb51385e13b4172f'/>
<id>76e2667ef95583ea72ad1280bb51385e13b4172f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add DownloadProvider permission tests.</title>
<updated>2009-06-15T23:36:38+00:00</updated>
<author>
<name>Brett Chabot</name>
<email>brettchabot@android.com</email>
</author>
<published>2009-06-15T23:36:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_providers_DownloadProvider/commit/?id=8669ad1117c7502d74ef24e2a7f9df387f5eddd2'/>
<id>8669ad1117c7502d74ef24e2a7f9df387f5eddd2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add permission test app structure for download provider.</title>
<updated>2009-06-15T19:27:58+00:00</updated>
<author>
<name>Brett Chabot</name>
<email>brettchabot@android.com</email>
</author>
<published>2009-06-15T19:27:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_packages_providers_DownloadProvider/commit/?id=f4d6323d42524ee6ea19beed8f52efab241e630f'/>
<id>f4d6323d42524ee6ea19beed8f52efab241e630f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
