]> nv-tegra.nvidia Code Review - android/platform/packages/providers/DownloadProvider.git/log
android/platform/packages/providers/DownloadProvider.git
10 years agoam e4dc524e: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Tue, 1 Oct 2013 04:48:06 +0000 (21:48 -0700)]
am e4dc524e: (-s ours) Import translations. DO NOT MERGE

* commit 'e4dc524e195b2dd8d86dd80504500f8f5bb11d92':
  Import translations. DO NOT MERGE

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 30 Sep 2013 23:06:37 +0000 (16:06 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ia9624a3605f4c3322c025d29ae490652e8451fa5
Auto-generated-cl: translation import

10 years agoFollow API changes.
Jeff Sharkey [Sat, 28 Sep 2013 00:08:13 +0000 (17:08 -0700)]
Follow API changes.

Bug: 10964412
Change-Id: Ia452bd056b6e01aace33acc5f1aa741af4d77c5f

10 years agoUpdate Downloads icon.
Jeff Sharkey [Thu, 26 Sep 2013 21:55:32 +0000 (14:55 -0700)]
Update Downloads icon.

Bug: 10900560
Change-Id: Idd7578a33a6cad86ccb4b1244a571aca22a3c6ce

10 years agoRevoke grants when downloads are deleted.
Jeff Sharkey [Thu, 26 Sep 2013 21:30:47 +0000 (14:30 -0700)]
Revoke grants when downloads are deleted.

When deleting downloads, revoke any Uri permission grants, which
removes from getPersistedUriPermissions().

Bug: 10928851
Change-Id: I3e90c4071385832dcb3e0cf9ca3fdccafbe30037

10 years agoAlways check against canonical paths.
Jeff Sharkey [Wed, 25 Sep 2013 21:19:04 +0000 (14:19 -0700)]
Always check against canonical paths.

Bug: 10920351
Change-Id: I8c7e5344d9fd9d15565eaf93b91ce457a98ab98c

10 years agoAllow saving to Downloads.
Jeff Sharkey [Mon, 23 Sep 2013 21:21:55 +0000 (14:21 -0700)]
Allow saving to Downloads.

Add column to mark downloads as being writable, and allow documents
to be created under Downloads backend.  Update database when writing
is finished, and generate unique filenames when they already exist.

Check canonical path on incoming _DATA paths.

Bug: 106671641089262110893268
Change-Id: I8c203b96ff042a895b58686903fcd07fc755a00f

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 19 Sep 2013 11:22:16 +0000 (04:22 -0700)]
Import translations. DO NOT MERGE

Change-Id: I7eed8b3ec497e3064cfb97a50cd94db372c11369
Auto-generated-cl: translation import

10 years agoUnified handling of errors around opening.
Jeff Sharkey [Wed, 18 Sep 2013 19:53:39 +0000 (12:53 -0700)]
Unified handling of errors around opening.

Handle both missing downloads and missing activities.

Bug: 1079944910713636
Change-Id: I592b07fc5cf530526803379d7f7a99e8a6b207c4

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 15 Sep 2013 04:46:06 +0000 (21:46 -0700)]
Import translations. DO NOT MERGE

Change-Id: I95b1ceb95e746e87aeff59de9a9f002deb53901d
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sat, 14 Sep 2013 08:40:48 +0000 (01:40 -0700)]
Import translations. DO NOT MERGE

Change-Id: I139438cac8c3d1830501ad6d4f992985bde2e143
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 12 Sep 2013 00:18:48 +0000 (17:18 -0700)]
Import translations. DO NOT MERGE

Change-Id: Idd5f313073965a7763af3a1241b169f879ce8fde
Auto-generated-cl: translation import

10 years agoOmit duplicate images, query for management UI.
Jeff Sharkey [Tue, 10 Sep 2013 23:42:40 +0000 (16:42 -0700)]
Omit duplicate images, query for management UI.

When returning recent files, omit images that have been scanned and
provided by the Images backend.

Return in-progress files when queried for management UI, otherwise
only return complete files.

Bug: 10659651
Change-Id: I8f05e6fcf53422905d7f51cc55611ca00af301bf

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 10 Sep 2013 14:34:31 +0000 (14:34 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoHint sorting, remove XML, follow refactor.
Jeff Sharkey [Mon, 9 Sep 2013 16:16:29 +0000 (09:16 -0700)]
Hint sorting, remove XML, follow refactor.

Bug: 1067297310577809
Change-Id: I92314c35b37ac590830e881489e6a88afd860de4

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 9 Sep 2013 22:16:54 +0000 (15:16 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0514b35f22ed9a725d76734c300e1501047975a6
Auto-generated-cl: translation import

10 years agoExtend trampoline to show dialogs.
Jeff Sharkey [Fri, 6 Sep 2013 00:13:59 +0000 (17:13 -0700)]
Extend trampoline to show dialogs.

Handle incoming manage requests by launching finished downloads,
or showing various retry dialogs.  Pipe through summary, show
percentage when in progress, and always show total size and MIME type.

Bug: 1053134710599641
Change-Id: I3be2bc67ea3c0ef795146177200f5be77ad5114e

10 years agoMerge "Relay content change notifications to documents." into klp-dev
Jeff Sharkey [Thu, 5 Sep 2013 21:19:42 +0000 (21:19 +0000)]
Merge "Relay content change notifications to documents." into klp-dev

10 years agoRelay content change notifications to documents.
Jeff Sharkey [Thu, 5 Sep 2013 21:09:17 +0000 (14:09 -0700)]
Relay content change notifications to documents.

Bug: 10531347
Change-Id: Ia704b233623e913da3a5cb7c8aa5e024900e1d3a

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 3 Sep 2013 22:52:44 +0000 (15:52 -0700)]
Import translations. DO NOT MERGE

Change-Id: I78ad6b89138262e745cb31d0e145a97d1bedf377
Auto-generated-cl: translation import

10 years agoMerge "Remove content flags to indicate */* support." into klp-dev
Jeff Sharkey [Tue, 3 Sep 2013 03:50:59 +0000 (03:50 +0000)]
Merge "Remove content flags to indicate */* support." into klp-dev

10 years agoMerge "New recent documents behavior." into klp-dev
Jeff Sharkey [Tue, 3 Sep 2013 03:50:46 +0000 (03:50 +0000)]
Merge "New recent documents behavior." into klp-dev

10 years agoRemove content flags to indicate */* support.
Jeff Sharkey [Tue, 3 Sep 2013 00:41:08 +0000 (17:41 -0700)]
Remove content flags to indicate */* support.

Bug: 10597317
Change-Id: Ia32f4ec34847680135c300dfe8fe73694da4c57a

10 years agoMerge "Follow refactoring of DocumentsContract." into klp-dev
Jeff Sharkey [Tue, 3 Sep 2013 00:07:13 +0000 (00:07 +0000)]
Merge "Follow refactoring of DocumentsContract." into klp-dev

10 years agoNew recent documents behavior.
Jeff Sharkey [Mon, 2 Sep 2013 22:30:28 +0000 (15:30 -0700)]
New recent documents behavior.

Bug: 10593596
Change-Id: I708d2396266d083a494e57eab2637471e54e1cdc

10 years agoFollow refactoring of DocumentsContract.
Jeff Sharkey [Sat, 31 Aug 2013 23:59:13 +0000 (16:59 -0700)]
Follow refactoring of DocumentsContract.

Bug: 10567557
Change-Id: If03f352f865073b0e332a6a1c40cc34d83425b62

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 29 Aug 2013 15:09:09 +0000 (15:09 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 29 Aug 2013 08:30:59 +0000 (01:30 -0700)]
Import translations. DO NOT MERGE

Change-Id: I107503db5dd53420ad908e8bd6e489ebf5971e71
Auto-generated-cl: translation import

10 years agoFollow stronger DocumentsProvider contract.
Jeff Sharkey [Thu, 29 Aug 2013 00:54:21 +0000 (17:54 -0700)]
Follow stronger DocumentsProvider contract.

Provides same functionality, but follows updated DocumentsProvider
contract in framework.

Bug: 10497206
Change-Id: Ie1f6180047ff7bad289679a14f3368238d47b1d6

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 23 Aug 2013 17:32:07 +0000 (10:32 -0700)]
Import translations. DO NOT MERGE

Change-Id: I60a8cd64b094a32b747f51882fb0b3b30d69680e
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 22 Aug 2013 00:52:06 +0000 (17:52 -0700)]
Import translations. DO NOT MERGE

Change-Id: I4fffcac8343b7df4de690793924bd458848b66f8
Auto-generated-cl: translation import

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Mon, 19 Aug 2013 22:00:29 +0000 (22:00 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoTrampoline APK installation to use raw file.
Jeff Sharkey [Mon, 19 Aug 2013 21:47:58 +0000 (14:47 -0700)]
Trampoline APK installation to use raw file.

PackageInstaller requires raw file:// Uris, and refuses to accept
content:// Uris, so create a trampoline that uses the raw file and
also splices in referrer extras.

Bug: 10391254
Change-Id: I12a06862069479de5dee140d0065479ce79eb494

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 19 Aug 2013 20:44:10 +0000 (13:44 -0700)]
Import translations. DO NOT MERGE

Change-Id: I50e9a4f3c74aafee403586ae58219a6d1ab40e4e
Auto-generated-cl: translation import

10 years agoClear identity when deleting downloads.
Jeff Sharkey [Mon, 19 Aug 2013 04:12:27 +0000 (21:12 -0700)]
Clear identity when deleting downloads.

Bug: 10329983
Change-Id: Iff3db6e5210ae9f33ec13af91561475b269dcc40

10 years agoMerge "Support custom documents query projections." into klp-dev
Jeff Sharkey [Sun, 18 Aug 2013 20:53:49 +0000 (20:53 +0000)]
Merge "Support custom documents query projections." into klp-dev

10 years agoSupport custom documents query projections.
Jeff Sharkey [Sat, 17 Aug 2013 22:23:34 +0000 (15:23 -0700)]
Support custom documents query projections.

Uses new MatrixCursor.RowBuilder.offer() to support custom
projections.  Also query MIME types directly so they're always
consistent.

Bug: 10329983
Change-Id: I724b26e008f6ffb85940e009a916b969ead42fcd

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 16 Aug 2013 00:59:08 +0000 (00:59 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoDelegate to documents UI; improve contents.
Jeff Sharkey [Thu, 15 Aug 2013 23:23:09 +0000 (16:23 -0700)]
Delegate to documents UI; improve contents.

When Downloads app is launched, delegate to new documents management
UI.  Use DownloadManager public API to match the contents of the
existing Downloads UI.

Bug: 10329983
Change-Id: Iaa1a1dc013cfe3b17d31ecc764d4c4cc13f62258

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 14 Aug 2013 23:16:53 +0000 (16:16 -0700)]
Import translations. DO NOT MERGE

Change-Id: I80e4239eec1873fb877585bce5a52f50755b2655
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 12 Aug 2013 20:07:20 +0000 (13:07 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ibce1ddc6667714b4f442c4a9c94bc4a2dee9c6da
Auto-generated-cl: translation import

10 years agoMerge "First pass at Downloads storage provider."
Jeff Sharkey [Thu, 8 Aug 2013 01:40:13 +0000 (01:40 +0000)]
Merge "First pass at Downloads storage provider."

10 years agoFirst pass at Downloads storage provider.
Jeff Sharkey [Thu, 8 Aug 2013 01:33:57 +0000 (18:33 -0700)]
First pass at Downloads storage provider.

Offers a view of Downloads through the lens of DocumentsContract
for surfacing in new storage UI.

Change-Id: I4373c2498b4b82bfee2300a00f8d0bb734bf574c

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 1 Aug 2013 22:21:38 +0000 (15:21 -0700)]
Import translations. DO NOT MERGE

Change-Id: I01cd1eefd3eadc99487b5b3bc436671db8f4c3ba
Auto-generated-cl: translation import

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Tue, 18 Jun 2013 20:01:29 +0000 (20:01 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoDownloadProvider needs to be a privileged APK
Christopher Tate [Fri, 10 May 2013 21:12:17 +0000 (14:12 -0700)]
DownloadProvider needs to be a privileged APK

Bug 8765951

Change-Id: Id2ec25b90e5d08595af282969395450ca5496742

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 17 Jun 2013 17:37:56 +0000 (10:37 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ia73441b5baf7d26c57c2dba950f5fa48686d7969
Auto-generated-cl: translation import

10 years agoCount download WakeLocks against requesting app.
Jeff Sharkey [Thu, 6 Jun 2013 22:07:06 +0000 (15:07 -0700)]
Count download WakeLocks against requesting app.

This matches how network usage is already counted against the app
making the request.

Change-Id: I6a862e096f2f99441925a101268235615000355a

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 30 May 2013 03:48:43 +0000 (20:48 -0700)]
Import translations. DO NOT MERGE

Change-Id: I6a79e7b754cde9762a32f7b967c4322f0e6d9145
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 17 May 2013 20:31:16 +0000 (13:31 -0700)]
Import translations. DO NOT MERGE

Change-Id: If161ee627f140b79b37cf3893f0ef03f7aa2298b
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 13 May 2013 17:52:04 +0000 (10:52 -0700)]
Import translations. DO NOT MERGE

Change-Id: I606fe32db0ae76e2f1242913caacf326a3e30380
Auto-generated-cl: translation import

10 years agoMerge "Increment operation counts to track downloads."
Jeff Sharkey [Fri, 10 May 2013 23:09:15 +0000 (23:09 +0000)]
Merge "Increment operation counts to track downloads."

10 years agoIncrement operation counts to track downloads.
Jeff Sharkey [Fri, 10 May 2013 23:08:40 +0000 (16:08 -0700)]
Increment operation counts to track downloads.

Bug: 8850035
Change-Id: If506ea21f0c823f9da4b7ae14d611fdbfbac8042

10 years agoam 33e1ce41: am 2435eb9c: Avoid NPE when finding common MIME type.
Jeff Sharkey [Thu, 9 May 2013 23:28:28 +0000 (16:28 -0700)]
am 33e1ce41: am 2435eb9c: Avoid NPE when finding common MIME type.

* commit '33e1ce41b46c65f679ce641d124ff9d8fce706ac':
  Avoid NPE when finding common MIME type.

10 years agoam 2435eb9c: Avoid NPE when finding common MIME type.
Jeff Sharkey [Thu, 9 May 2013 23:23:24 +0000 (16:23 -0700)]
am 2435eb9c: Avoid NPE when finding common MIME type.

* commit '2435eb9c89bd46511624b9d89ab22766f82dbfcb':
  Avoid NPE when finding common MIME type.

10 years agoAvoid NPE when finding common MIME type. rel-roth-r2-partner rel-roth-r3-partner rel-tegranote-r3-partner daily-2013.10.28.1_rel-roth-r2-partner daily-2013.10.28.2_rel-roth-r2-partner daily-2013.10.29.0_rel-roth-r2-partner daily-2013.11.06.0_rel-roth-r2-partner daily-2013.12.03.0_rel-roth-r3-partner daily-2013.12.26.0_rel-roth-r3-partner daily-2014.01.08.0_rel-tegranote-r3-partner daily-2014.02.03.0_rel-roth-r3-partner
Jeff Sharkey [Thu, 9 May 2013 20:46:37 +0000 (13:46 -0700)]
Avoid NPE when finding common MIME type.

Bug: 8609148
Change-Id: Ibd1121d6833981234acdc927010087c12913e33d

10 years agoam ccdd40c7: Follow MockWebServer API changes.
Jeff Sharkey [Thu, 9 May 2013 17:15:38 +0000 (10:15 -0700)]
am ccdd40c7: Follow MockWebServer API changes.

* commit 'ccdd40c7230a1e82394e73d8f4c265f58095530d':
  Follow MockWebServer API changes.

10 years agoFollow MockWebServer API changes.
Jeff Sharkey [Wed, 3 Apr 2013 17:13:32 +0000 (10:13 -0700)]
Follow MockWebServer API changes.

(cherry picked from commit 323f5ae0cafdc72f61defefaa5ba938f1b4d0dda)

Change-Id: I11627a5efebddf7b832bb63e6a7588accbc04fe8

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 8 May 2013 19:26:49 +0000 (12:26 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic1a45fc3383cfe390ef4204432b9a77eccd1fa73
Auto-generated-cl: translation import

10 years agoam 672a5be2: am 64f6b529: Merge "Avoid NullPointerException"
Jeff Sharkey [Thu, 2 May 2013 17:56:09 +0000 (10:56 -0700)]
am 672a5be2: am 64f6b529: Merge "Avoid NullPointerException"

* commit '672a5be2fb115a4480d6867c06b9da2a36d5353c':
  Avoid NullPointerException

10 years agoam 64f6b529: Merge "Avoid NullPointerException"
Jeff Sharkey [Thu, 2 May 2013 17:53:18 +0000 (10:53 -0700)]
am 64f6b529: Merge "Avoid NullPointerException"

* commit '64f6b529963d1ec997cff60a79c9d249e5e09040':
  Avoid NullPointerException

10 years agoMerge "Avoid NullPointerException"
Jeff Sharkey [Thu, 2 May 2013 16:53:27 +0000 (16:53 +0000)]
Merge "Avoid NullPointerException"

10 years agoAvoid NullPointerException
Mattias Falk [Thu, 3 Jan 2013 11:49:09 +0000 (12:49 +0100)]
Avoid NullPointerException

A crash will occur when a user share more
than one file and the mime type of any of
the files to share is null.

Avoid crash by not adding the mime type to
the mime type list if the value is null.

Change-Id: Ia06f3389da6ce34e11ffcf349a10fdbe64cfc9bd

10 years agoam 16961cf4: am 64a9e6cb: Completed downloads should clear when touched.
Jeff Sharkey [Wed, 1 May 2013 00:22:31 +0000 (17:22 -0700)]
am 16961cf4: am 64a9e6cb: Completed downloads should clear when touched.

* commit '16961cf4cab924cf8f445d2957ecce7a5d0726b9':
  Completed downloads should clear when touched.

10 years agoam 64a9e6cb: Completed downloads should clear when touched.
Jeff Sharkey [Wed, 1 May 2013 00:16:51 +0000 (17:16 -0700)]
am 64a9e6cb: Completed downloads should clear when touched.

* commit '64a9e6cb3628db724e04492cf207757348960eb7':
  Completed downloads should clear when touched.

10 years agoCompleted downloads should clear when touched.
Jeff Sharkey [Sun, 28 Apr 2013 22:55:53 +0000 (15:55 -0700)]
Completed downloads should clear when touched.

Bug: 8744610
Change-Id: I135a3acbc819fd725f00ba57461e21db1fe24850

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 22 Apr 2013 19:20:49 +0000 (12:20 -0700)]
Import translations. DO NOT MERGE

Change-Id: I3162d21b74c9fcc7e6ae2ff5e3b312bb7ce31c67
Auto-generated-cl: translation import

11 years agoam 23e9fb55: am 8b9cad51: Merge "Hide the sorting button when download list is empty"
Jeff Sharkey [Mon, 15 Apr 2013 21:20:46 +0000 (14:20 -0700)]
am 23e9fb55: am 8b9cad51: Merge "Hide the sorting button when download list is empty"

* commit '23e9fb5525aa3d16f5ec19929a8426957949e797':
  Hide the sorting button when download list is empty

11 years agoam 8b9cad51: Merge "Hide the sorting button when download list is empty"
Jeff Sharkey [Mon, 15 Apr 2013 21:17:35 +0000 (14:17 -0700)]
am 8b9cad51: Merge "Hide the sorting button when download list is empty"

* commit '8b9cad519ef72ed4555e9dd32ecee85c922abc32':
  Hide the sorting button when download list is empty

11 years agoMerge "Hide the sorting button when download list is empty"
Jeff Sharkey [Mon, 15 Apr 2013 20:29:33 +0000 (20:29 +0000)]
Merge "Hide the sorting button when download list is empty"

11 years agoHide the sorting button when download list is empty
Jaekyun Seok [Mon, 15 Apr 2013 03:35:13 +0000 (12:35 +0900)]
Hide the sorting button when download list is empty

Bug: 8515801
Change-Id: Id5ff6d56eb07de6b76bdb6bc3fa75af6ddd59a39

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 12 Apr 2013 19:06:22 +0000 (12:06 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ifa35c199e12c3bbd73895583c0947dba45345290
Auto-generated-cl: translation import

11 years agoam 6c824b0a: am e336af4d: Downloads should always be available.
Jeff Sharkey [Thu, 11 Apr 2013 18:31:28 +0000 (11:31 -0700)]
am 6c824b0a: am e336af4d: Downloads should always be available.

* commit '6c824b0a59e4a39c3d26a39a03a8627dbeac5900':
  Downloads should always be available.

11 years agoam e336af4d: Downloads should always be available.
Jeff Sharkey [Thu, 11 Apr 2013 18:27:20 +0000 (11:27 -0700)]
am e336af4d: Downloads should always be available.

* commit 'e336af4d37af25d9261439d4ec0c153aa897dfbe':
  Downloads should always be available.

11 years agoDownloads should always be available.
Jeff Sharkey [Thu, 11 Apr 2013 18:08:10 +0000 (11:08 -0700)]
Downloads should always be available.

Bug: 8596021
Change-Id: I56149da0519915764f5c38a8141e1a7dcfff5b25

11 years agoam f3249c50: am 62608885: Merge "Restore the appropriate SELinux context to the downl...
Geremy Condra [Fri, 5 Apr 2013 22:47:00 +0000 (15:47 -0700)]
am f3249c50: am 62608885: Merge "Restore the appropriate SELinux context to the downloads dir." into jb-mr2-dev

* commit 'f3249c5094356a052307aa8ff1959a56e966e10e':
  Restore the appropriate SELinux context to the downloads dir.

11 years agoam 62608885: Merge "Restore the appropriate SELinux context to the downloads dir...
Geremy Condra [Fri, 5 Apr 2013 22:42:48 +0000 (15:42 -0700)]
am 62608885: Merge "Restore the appropriate SELinux context to the downloads dir." into jb-mr2-dev

* commit '62608885d3d8a7b88776084040f666bd1304b811':
  Restore the appropriate SELinux context to the downloads dir.

11 years agoMerge "Restore the appropriate SELinux context to the downloads dir." into jb-mr2-dev
Geremy Condra [Fri, 5 Apr 2013 22:41:03 +0000 (22:41 +0000)]
Merge "Restore the appropriate SELinux context to the downloads dir." into jb-mr2-dev

11 years agoam 5a49c4ed: am af49093b: Fix download notification click behaviour.
Danny Baumann [Fri, 5 Apr 2013 20:35:13 +0000 (13:35 -0700)]
am 5a49c4ed: am af49093b: Fix download notification click behaviour.

* commit '5a49c4edce268ec1866c77c84ac716baa56f929c':
  Fix download notification click behaviour.

11 years agoam 82d26295: Merge commit \'ab2d11fa\' into merge2
Jeff Sharkey [Fri, 5 Apr 2013 20:35:11 +0000 (13:35 -0700)]
am 82d26295: Merge commit \'ab2d11fa\' into merge2

* commit '82d26295ca202bdcbb56343117fd450a2b7097c0':
  Fix download notification click behaviour.

11 years agoam af49093b: Fix download notification click behaviour.
Danny Baumann [Fri, 5 Apr 2013 20:31:13 +0000 (13:31 -0700)]
am af49093b: Fix download notification click behaviour.

* commit 'af49093b1554fdc55977e9281505e05865f33813':
  Fix download notification click behaviour.

11 years agoFix download notification click behaviour.
Danny Baumann [Wed, 3 Apr 2013 12:36:21 +0000 (14:36 +0200)]
Fix download notification click behaviour.

PendingIntent.getBroadcast() doesn't update the intent extras if not
explicitly given something to distinguish the intents. This caused the
notification on-click to do nothing on everything but the first
download.

Change-Id: I29544ae5b04f8304cbbe720066a26ff90e422107

11 years agoRestore the appropriate SELinux context to the downloads dir.
Geremy Condra [Thu, 4 Apr 2013 02:07:45 +0000 (19:07 -0700)]
Restore the appropriate SELinux context to the downloads dir.

Change-Id: I4839fd07abdd1c6b866f1d94dc36567df047e30c

11 years agoMerge commit 'ab2d11fa' into merge2
Jeff Sharkey [Fri, 5 Apr 2013 20:01:11 +0000 (13:01 -0700)]
Merge commit 'ab2d11fa' into merge2

Change-Id: I92cd6985b8074a238118b95599e4df57e6849f62

11 years agoMerge "Fix download notification click behaviour."
Jeff Sharkey [Fri, 5 Apr 2013 18:12:01 +0000 (18:12 +0000)]
Merge "Fix download notification click behaviour."

11 years agoFix download notification click behaviour.
Danny Baumann [Wed, 3 Apr 2013 12:36:21 +0000 (14:36 +0200)]
Fix download notification click behaviour.

PendingIntent.getBroadcast() doesn't update the intent extras if not
explicitly given something to distinguish the intents. This caused the
notification on-click to do nothing on everything but the first
download.

Change-Id: I29544ae5b04f8304cbbe720066a26ff90e422107

11 years agoRestore the appropriate SELinux context to the downloads dir.
Geremy Condra [Thu, 4 Apr 2013 02:07:45 +0000 (19:07 -0700)]
Restore the appropriate SELinux context to the downloads dir.

Change-Id: I4839fd07abdd1c6b866f1d94dc36567df047e30c

11 years agoFollow MockWebServer API changes.
Jeff Sharkey [Wed, 3 Apr 2013 17:13:32 +0000 (10:13 -0700)]
Follow MockWebServer API changes.

Change-Id: Icaba016bc6e098745e56a3b6367a8a6af0151158

11 years agoam 5048492e: New PendingIntents when extras change.
Jeff Sharkey [Tue, 26 Mar 2013 20:23:03 +0000 (13:23 -0700)]
am 5048492e: New PendingIntents when extras change.

* commit '5048492e352be8134d92178d757a60117491e292':
  New PendingIntents when extras change.

11 years agoNew PendingIntents when extras change.
Jeff Sharkey [Tue, 26 Mar 2013 20:15:43 +0000 (13:15 -0700)]
New PendingIntents when extras change.

Otherwise notifications end up launching with stale download IDs.

Bug: 8417220
Change-Id: Ie72a2f4ac7b72213678ac6001af45709034492dd

11 years agoam ff0220f5: Unregister observer when tearing down service.
Jeff Sharkey [Tue, 26 Mar 2013 19:17:54 +0000 (12:17 -0700)]
am ff0220f5: Unregister observer when tearing down service.

* commit 'ff0220f5b4624049a1052bd868d7706eee5a0daf':
  Unregister observer when tearing down service.

11 years agoUnregister observer when tearing down service.
Jeff Sharkey [Tue, 26 Mar 2013 18:18:16 +0000 (11:18 -0700)]
Unregister observer when tearing down service.

Also reduce and adjust some logging.

Bug: 8470658
Change-Id: Ia1f1cbd315ded04edd2113506e5c5a1db5ec85b4

11 years agoam 0f2f6393: Revert "Avoid sending messages after HandlerThread.quit()."
Fabrice Di Meglio [Tue, 26 Mar 2013 03:20:13 +0000 (03:20 +0000)]
am 0f2f6393: Revert "Avoid sending messages after HandlerThread.quit()."

* commit '0f2f63932bd8d963764d37527b3237d219fdaa4d':
  Revert "Avoid sending messages after HandlerThread.quit()."

11 years agoRevert "Avoid sending messages after HandlerThread.quit()."
Fabrice Di Meglio [Tue, 26 Mar 2013 03:12:57 +0000 (03:12 +0000)]
Revert "Avoid sending messages after HandlerThread.quit()."

This reverts commit 97d507d95f9885ceb12f2ce2483361b5ed265f9f

Change-Id: I20374301561b3a1c79c2d986292af50049de2aac

11 years agoam 97d507d9: Avoid sending messages after HandlerThread.quit().
Jeff Sharkey [Tue, 26 Mar 2013 00:49:13 +0000 (00:49 +0000)]
am 97d507d9: Avoid sending messages after HandlerThread.quit().

* commit '97d507d95f9885ceb12f2ce2483361b5ed265f9f':
  Avoid sending messages after HandlerThread.quit().

11 years agoAvoid sending messages after HandlerThread.quit().
Jeff Sharkey [Tue, 26 Mar 2013 00:45:19 +0000 (17:45 -0700)]
Avoid sending messages after HandlerThread.quit().

Bug: 8470658
Change-Id: I4cfd6a01c2c2d845a72d3f58c29eec8b44176537

11 years agoam 703bc3a8: Reduce logging, dump stacks before wtf().
Jeff Sharkey [Mon, 25 Mar 2013 21:02:45 +0000 (21:02 +0000)]
am 703bc3a8: Reduce logging, dump stacks before wtf().

* commit '703bc3a83056a878a83e263b992fb5331b84535f':
  Reduce logging, dump stacks before wtf().

11 years agoReduce logging, dump stacks before wtf().
Jeff Sharkey [Mon, 25 Mar 2013 20:54:29 +0000 (13:54 -0700)]
Reduce logging, dump stacks before wtf().

Most wtf() are looking like network timeouts, not threading bugs, so
disable verbose debugging and add more targeted thread logging before
calling wtf().

Bug: 8233041
Change-Id: I8e276bffd7880cfe13b65e7e81f5507cab627692

11 years agoam 2c462097: am a6836350: am 9f48387a: Merge "Add title attribute for menu item."
Jeff Sharkey [Mon, 25 Mar 2013 18:34:20 +0000 (18:34 +0000)]
am 2c462097: am a6836350: am 9f48387a: Merge "Add title attribute for menu item."

* commit '2c462097d100646ec7491b5fd5fa00ae7ff49200':
  Add title attribute for menu item.

11 years agoam 1b5c0091: Start using MockStreamResponse.
Jeff Sharkey [Mon, 25 Mar 2013 18:34:20 +0000 (18:34 +0000)]
am 1b5c0091: Start using MockStreamResponse.

* commit '1b5c0091270cdc04054c9a2af33ba4f94d652cff':
  Start using MockStreamResponse.