Commit graph

202 commits

Author SHA1 Message Date
Manuel Fuhr
cc9732ea91 Remove System.exit(0) which causes app-restart 2022-04-05 21:55:28 +02:00
Manuel Fuhr
f0df9f94d4 Cleanup 2022-04-03 17:53:23 +02:00
Manuel Fuhr
952ea803b2 Use LinarProgessIndicator instead of sub-view 2022-04-03 17:53:21 +02:00
Manuel Fuhr
3a2c109ded Remove DownloadService 2022-04-03 17:53:05 +02:00
Manuel Fuhr
ecc4def40c Use WorkManager for downloads 2022-04-03 17:53:03 +02:00
Manuel Fuhr
21abce0139 Hacky way to disable reporting for small files 2022-04-03 17:51:01 +02:00
Manuel Fuhr
d74d0af687 Rewrite DownloadService
Split code into smaller pieces and remove duplication which already
caused confusion (492d79d42e changed wrong
download speed limit)
2022-04-03 17:51:01 +02:00
Manuel Fuhr
a091b07cb6 Reformat DownloadService 2022-04-03 17:51:01 +02:00
Manuel Fuhr
13f5ad0bcf Small cleanup of DownloadService 2022-04-03 17:51:01 +02:00
Manuel Fuhr
db42ae9f33 Always show main dialog (with Download Manager)
It can be confusing when the dialog is shown only sometimes and there is
no indication why the dialog isn't shown. The connection status can also
change after the start of the download manager so it has to handle those
errors anyway.

Closes #389
2022-04-03 17:51:01 +02:00
Manuel Fuhr
c80ad5f03b Update sdk and dependencies 2022-04-03 17:50:13 +02:00
Manuel Fuhr
d92c3beb3e Switch activities to AppCompat and adapt themes
No longer uses fullscreen, statusbar shall be visible to check connection status

Closes #57
2022-04-03 15:56:49 +02:00
Manuel Fuhr
cde4606760 Reformat and fix warnings in AndroidManifest 2022-04-02 18:35:42 +02:00
afischerdev
f577756433 trackdir and brouter.redirect changes 2022-02-11 15:00:55 +01:00
afischerdev
80d0a30729
Merge pull request #390 from zod/cleanup-binstaller
Use layouts in DownloadManager
2022-01-12 14:54:41 +01:00
Manuel Fuhr
1a3a77de72 Use initial view as minimal zoom level 2022-01-11 21:46:34 +01:00
afischerdev
f54d0f2f97
Merge pull request #385 from zod/workflow-fixes
Fix GitHub workflows
2022-01-11 16:57:26 +01:00
Manuel Fuhr
31e7c4ebbd Move info and button to own views 2022-01-07 13:03:01 +01:00
Manuel Fuhr
712bff8459 Use GestureDetector to handle touch events 2022-01-07 13:03:01 +01:00
Manuel Fuhr
b8496ffe5e Use View dimensions instead of display dimensions 2022-01-07 13:03:01 +01:00
Manuel Fuhr
50a7c2244f Clear all flags when scanning files 2022-01-07 13:03:01 +01:00
Manuel Fuhr
0eba6cb345 Move all download handling to BInstallerActivity 2022-01-07 13:03:01 +01:00
Manuel Fuhr
7b6fce1481 Move deleting tiles to BInstallerActivity 2022-01-07 13:03:00 +01:00
Manuel Fuhr
da7569b0a0 Use onClick handler to start download 2022-01-07 09:54:11 +01:00
Manuel Fuhr
51ef5c6aad Show download progress in different view 2022-01-07 09:53:39 +01:00
Manuel Fuhr
6045a18a61 Inflate BInstallerView from layout 2022-01-07 09:51:23 +01:00
Manuel Fuhr
89f075fa61 Draw only available segments 2022-01-07 09:51:23 +01:00
Manuel Fuhr
806ae6250e Draw rect using canvas 2022-01-07 09:51:23 +01:00
Manuel Fuhr
e045a732fb Rename DownloadReceiver 2022-01-07 09:51:23 +01:00
Manuel Fuhr
32747a1f6f Remove wakelock from BInstallerActivity 2022-01-07 09:51:23 +01:00
Manuel Fuhr
64a80e763b Merge startInstaller into constructor 2022-01-07 09:51:23 +01:00
Manuel Fuhr
dd7a2fcd98 More Fixes 2022-01-07 09:51:23 +01:00
Manuel Fuhr
de7dd71a94 Apply Quick Fixes suggested by Android Studio 2022-01-07 09:51:23 +01:00
Manuel Fuhr
89ef74f95b Android Studio automatic cleanup 2022-01-07 09:51:23 +01:00
Manuel Fuhr
553f064ce0 Optimize Imports 2022-01-07 09:51:23 +01:00
Manuel Fuhr
d9b8f69f59 Add test to ensure legacy storage access 2021-12-31 11:26:26 +01:00
Manuel Fuhr
82d28ed08a Fix build with empty signing environment variables
GitHub action secrets default to empty values if they aren't defined in
a repository. Any fork of the repo doesn't have access to the secrets
and the jobs therefore fail.
2021-12-31 08:30:37 +01:00
Manuel Fuhr
236c65d8ed Fix external storage access
- Allow writing on all versions
- Skip migration if BRouter version has already setup basedir
2021-12-30 14:24:03 +01:00
afischerdev
7b460d25d3 add file check for A10 #379 2021-12-28 10:49:56 +01:00
afischerdev
f5c3103dcf update workflow, add check #379 2021-12-27 20:02:13 +01:00
abrensch
50c5581e03
Update build.gradle
android version code 43->45 (due to problems uploading to google-play)
2021-12-23 16:38:41 +01:00
afischerdev
623f3c0279 set new version 1.6.3 2021-12-21 17:02:35 +01:00
Arndt Brenschede
492d79d42e inreased download speed limit from 4 to 16 mbit/s 2021-12-20 09:52:53 +01:00
Manuel Fuhr
54d5c5e943 Reformat files using Android Studio
android-studio/bin/format.sh -m '*.java' -r brouter-routing-app

To rebase active branches on top of the new master just rebase your
branch onto the commit prior to the reformatting and format every commit
of your branch using (<commit> should be replaced by this commit)

git rebase \
        --strategy-option=theirs \
        --onto <commit> \
        --exec 'format.sh -m "*.java" -r brouter-routing-app' \
        --exec 'git commit --all --no-edit --amend' \
        <commit>~

To ignore this mass edit during git blame see `.git-blame-ignore-revs`
2021-11-20 16:50:23 +01:00
afischerdev
168970ea34 removed option for main folder in Android Q 2021-11-18 10:47:09 +01:00
afischerdev
2794f5376e Cosmetics 2021-11-18 10:44:48 +01:00
afischerdev
7fa59d65db Cosmetics 2021-11-18 10:35:50 +01:00
afischerdev
3fddf3bd32 removed old icon 2021-11-18 10:27:20 +01:00
Manuel Fuhr
c92c289a3f Change profile check to also pass on river.brf 2021-11-18 06:27:21 +01:00
Manuel Fuhr
f29616eefc Don't overwrite built-in profiles 2021-11-18 06:27:21 +01:00