Torsten Grote
decc2cc6e3
Add ktlint and run it in CI
...
Fixes formatting issues it found.
Also remove version variables from gradle scripts as they are not wanted by the project.
2022-02-16 09:43:19 -03:00
Torsten Grote
155257d901
Enable explicit API Mode for download library
...
and clean up the API a bit in the process
2022-02-16 09:43:19 -03:00
Torsten Grote
062c870f23
Move (Http)Downloader into download library
2022-02-16 09:43:18 -03:00
Hans-Christoph Steiner
577a420fac
nearby: switch back button to close icon when it will end session
...
Clicking the toolbar button on the start screen will end the swap session.
2021-09-10 14:49:09 +02:00
Hans-Christoph Steiner
f6752edebe
overhaul nav and backstace to be non-linear & add "Apps" button
2021-09-03 13:14:45 +02:00
Hans-Christoph Steiner
2917ef64a8
setUpStartVisibility: check widgets are available to avoid NPEs
2021-09-03 13:14:42 +02:00
Hans-Christoph Steiner
f673b5c1f1
SwapWorkflowActivity: track Bluetooth/Bonjour status when not visible
...
This keeps track of the Bluetooth and Bonjour status even when no related
widgets are visible. That provides a way for the View to query for the
current status when it is being shown.
2021-09-03 13:14:40 +02:00
Hans-Christoph Steiner
f7eba90cf2
fix bug where onWifiStatusChange does not update the UI elements
...
introduced in effcf4bfa9
2021-09-03 13:14:35 +02:00
Hans-Christoph Steiner
076e8743c3
show nearby icon in Select Apps if already connected to other device
...
Also, hide the forward arrow or nearby icon if the user selected Apps from
the Start Swap screen, and is not connected.
2021-09-03 13:14:33 +02:00
Hans-Christoph Steiner
4fd1e1bc34
nearby: check if peer is present before adding to the list
2021-09-03 13:14:31 +02:00
Hans-Christoph Steiner
c71dd5262d
nearby: ensure widgets are not null before trying to configure them
...
There are lots of async events in this system, and the user can also change
the views while things are working. The ViewGroup `container` can have all
its widgets removed and replaced by a new view at any point. Therefore,
any widget config that is based on fetching it from `container` must check
that the result is not null before trying to config it.
2021-09-03 13:14:25 +02:00
Hans-Christoph Steiner
7820554bc8
nearby: do not show "Use Bluetooth" button if no adapter
2021-09-03 13:14:22 +02:00
Hans-Christoph Steiner
f7c594b045
show warning if VPN is active while trying to use nearby swap
...
refs #1386
2021-08-27 18:03:39 +02:00
Hans-Christoph Steiner
4e0f9f1aaf
add direct link to app selection on Nearby front screen
2021-08-27 18:01:13 +02:00
Isira Seneviratne
e1ca1552f7
Generate a QR bitmap using RxJava instead of AsyncTask.
2021-06-15 08:51:16 +00:00
proletarius101
a1369cdd67
Migrate to MDC switches
2021-05-18 11:35:52 +00:00
Hans-Christoph Steiner
cf94cfb543
run Android Studio's Ctrl-Alt-O Organize Imports on all .java files
2021-04-13 10:23:59 +02:00
proletarius101
755588202f
feat: rebase app themes to material themes
2021-04-12 16:36:17 +00:00
proletarius101
f8f48e1be4
Replace deprecated methods introduced
2021-04-07 14:02:48 +00:00
proletarius101
528eecb63c
Extensively use appcompat
2021-04-07 14:02:48 +00:00
proletarius101
6e95bbe380
Fix swap workflow's back button
2021-02-23 19:55:48 +00:00
proletarius101
4737b32a60
fix icon and text tinting and replace some pixel maps with vector graphs
...
added vector graphs are the rounded variant
2021-02-04 21:43:59 +00:00
proletarius101
e2979f632d
Change Activity to AppCompatActivity
2021-01-28 16:52:58 +00:00
Hans-Christoph Steiner
bd45f0fdc5
Merge branch 'Remove_MenuItemCompat' into 'master'
...
Remove MenuItemCompat usages.
See merge request fdroid/fdroidclient!948
2020-11-11 17:00:19 +00:00
Isira Seneviratne
fcd3fadc9e
Remove MenuItemCompat usages.
2020-11-06 16:36:59 +05:30
Isira Seneviratne
fb8922b252
Use ContextCompat.getSystemService().
2020-11-06 16:27:11 +05:30
Isira Seneviratne
5254a6f1aa
Use ContextCompat.getColor().
2020-11-06 16:26:34 +05:30
Isira Seneviratne
a9b37a533e
Replace WiFi and hotspot PNGs with vector drawables.
2020-10-23 16:09:00 +05:30
Dominik Schürmann
14996c1eca
Fix errors reported by lint
2020-07-14 14:10:22 +02:00
Marcus Hoffmann
18592150c1
perform androidX migration through android studio
...
Project compiles and works fine after this.
2020-07-14 14:10:21 +02:00
Hans-Christoph Steiner
15d349f863
move LocalHTTPD and WifiStateChangeService into ".nearby" package
2019-06-17 11:18:07 +02:00
Hans-Christoph Steiner
43c7574228
fold ".views.swap" package into ".nearby" class
2019-06-17 10:50:56 +02:00