988f5dbfdcuse TextUtils.isEmpty() - a better solution!
n8fr8
2015-09-10 21:18:04 -04:00
b6939dcce4for #404 a few more tweaks to make sure things are getting closed!
n8fr8
2015-09-10 14:58:51 -04:00
b3f8ac0a5brelated to #404 improvement to patterns to support close and discoverable You must, must, must close the BT sockets else you run out of them. This code tries to handle all the places where BT sockets may not get closed. It also tries to tweak user experience/UI integration pieces in a few areas, and handle some NPEs that can occur when BT fails.
n8fr8
2015-09-10 14:44:59 -04:00
0a96d17dd1now handling empty repo fingerprint during check - also support icondownloading over bluetooth - also check for null repoUrl variable
n8fr8
2015-09-10 11:21:00 -04:00
c831cf77ccMany changes to swap workflow to get Bluetooth to work - don't try to start BT in the background. you can only start/stop a BT server once, else new connections don't work - be more mindful of reading/writing bytes from the input/output streams... make sure bytes are available, because you will block forever if you do not do that - use the device class tag to filter devices in discovery instead of the fdroid name tag - this now successfully connects but there is an error in the certificate fingerprint verification still
n8fr8
2015-09-10 04:23:58 -04:00
f05d0e12a0Merge branch 'my-first-new-swap-fixes' into 'master'
Daniel Martí
2015-09-11 00:50:48 +00:00
30ed545981Bump accesspoint lib
Daniel Martí
2015-09-10 10:49:45 -07:00
a69488b32fHttpDownloader bypasses proxy when accessing a swap repo
Hans-Christoph Steiner
2015-09-10 17:54:49 +02:00
1654443b00StrictMode only works in android-9 and above
Hans-Christoph Steiner
2015-09-10 16:49:13 +02:00
0f44fcb8fdswap: remove useless text that used to be a link
Hans-Christoph Steiner
2015-09-10 09:51:52 +02:00
8d20135779swap: close resources reported by StrictMode
Hans-Christoph Steiner
2015-09-08 21:08:27 +02:00
2f06bf8b47Merge branch 'ci-tests-4.4'
Daniel Martí
2015-09-09 22:29:51 -07:00
68899ec476Privileged: reserve alpha1 for the first tag
Daniel Martí
2015-09-09 22:09:06 -07:00
3fe1893336CI: 4.4 says it's ready before it actually is
Daniel Martí
2015-09-09 21:47:15 -07:00
5bb5e3a96bFix conflict between swap and privileged merges
Daniel Martí
2015-09-09 21:35:38 -07:00
faecbd03a0Unify and deduplicate gitignores
Daniel Martí
2015-09-09 21:24:36 -07:00
2bb4ae6984Bump buildToolsVersions after merge
Daniel Martí
2015-09-09 21:23:01 -07:00
e3400006a9CI: test adb before running connected checks
Daniel Martí
2015-09-09 21:16:09 -07:00
de4198efafCI: Increase adb install timeouts
Daniel Martí
2015-09-09 18:57:03 -07:00
25b8a47371README: some links support https
Daniel Martí
2015-09-09 18:32:56 -07:00
51ed0f9625CI: Run tests on a 4.4 emulator too
Daniel Martí
2015-09-09 17:30:05 -07:00
3f87462994Updated changelog with downloadmanager details.
Peter Serwylo
2015-09-10 09:25:29 +10:00
da8811eadfMerge branch 'cr-of-download-manager' into 'master'
Peter Serwylo
2015-09-09 23:21:07 +00:00
9848816df4Fix bug introduced when resolving conflicts during rebase.
Peter Serwylo
2015-09-10 07:56:05 +10:00
af5836cb09Bump accesspoint library to try to fix#407
Daniel Martí
2015-09-09 15:39:21 -07:00
645f9fc5e3Rename Utils.copy and Utils.symlinkOrCopyFile to indicate exception clobbering
Peter Serwylo
2015-09-10 06:13:28 +10:00
a09587c7e2Use helper functions where appropriate.
Peter Serwylo
2015-09-09 17:26:22 +10:00
7b773f94f9Make DownloadManager code file-agnostic, needn't be specific to "Apps"
Peter Serwylo
2015-09-09 17:21:17 +10:00
0a9941d93dRefactor AsyncDownloader to be an interface.
Peter Serwylo
2015-09-09 17:13:30 +10:00
d0d287f668Remove undocumented params from JavaDoc.
Peter Serwylo
2015-09-09 16:57:01 +10:00
69ecaf023fRefactored AsyncDownloader to only ever be constructed by DownloadFactory.
Peter Serwylo
2015-09-09 08:31:21 +10:00
9b7c4c7b4aWIP: CR.
Peter Serwylo
2015-09-09 07:32:06 +10:00
ef40b5f3dbNow displays a notification when download is complete, unless use is already on the app details screen, in which case it pops up the installer immediately
Toby Kurien
2015-09-05 11:54:17 +02:00
13e54ced07Display of app name and version in the download title
Toby Kurien
2015-09-05 10:02:42 +02:00
6f8b49c974proper handling of file resources, implemented progress stats for async downloader
Toby Kurien
2015-09-05 09:54:25 +02:00
f3ef78d292reverted to previous version, for merge request.
Toby Kurien
2015-09-04 16:16:49 +02:00
efd4ebeadfcleaned up code, prevented multiple app details screens popping up, fixed "no such app" toast after install
Toby Kurien
2015-09-04 14:44:14 +02:00
e827be1b5bwhen user clicks on notification, the app details screen now comes up. If there are multiple downloads, the first one is shown.
Toby Kurien
2015-09-04 13:57:48 +02:00
8a7feba9ccdrastically speed up debug build by not minifying and compressing resources. Release builds unaffected.
Toby Kurien
2015-09-04 13:46:43 +02:00
11caf22dc6wip: app details now reloads details of running downloads
Toby Kurien
2015-09-04 13:43:47 +02:00
f9fee5beb0wip: when a download is completed, app is woken up and app details screen displayed
Toby Kurien
2015-09-04 11:27:17 +02:00