Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace download service with activity (getodk#2463)
Some devices do not support service intents. This also makes InstanceUploaderActivity accessible through action instead of component name to allow for future refactors. - Remove service since startService might not work from Android 8.0 as https://developer.android.com/about/versions/oreo/android-8.0-changes\#atap . Change the FormDownloadJob to start in background thread - Add optional url, username & password to DownloadFormListUtils.downloadFormList enabling the download of a form using alternate server configurations * Add response when request is received by FormDownloadRequestReceiver * Enable foreground form download through the FormDownloadList activity - Enable optional username, password, url credentials for form downloads - Enable extra for FORM_IDS - Exit FormDownloadList activity with result when download forms list is cancelled/fails & when download forms is cancelled/fails/succeeds - Use custom url, username && password in Auth Dialog when invalid authentication details are passed from an external app. Do not persist the correct details entered by the user - Clear host credentials and cookies after using custom credentials from external app * Add optional credentials for background form downloader and clean up optional credentials * Exit activity if no internet connection is available & in download mode only * Add customUrl for use in the authentication dialog * Remove background form download requests * Make username & password optional to correspond with anonymous logins * Fix foreground form download request with custom credentials - Use the credentials entered after authentication error while trying to download form/form list - Fix anonymouse form download not working due to combo(url + username + password) check * Remove FormDownloadService declaration from Manifest * Use default /formList download path for external app form download requests * Make InstanceUploaderActivity accessible through action instead of component name
- Loading branch information