Commit graph

214 commits

Author SHA1 Message Date
andrekir
875c1542ea catch snackbar exception 2022-02-12 18:54:10 -03:00
Andre Kirchhoff
9cd1856bb9
Merge pull request #372 from meshtastic/release
1.2.57
2022-02-09 23:15:27 -03:00
andrekir
64114ce341 hold new permissions until targetSdkVersion update 2022-02-09 22:10:25 -03:00
Mike Cumings
654a32c01c Introduce Hilt dependency injection
Uses Hilt to get the database initialization off of the
main thread.

The initial introduction always has a disproportionate
fan-out of boilerplate. In this case, all entry points which
were using UIViewModel needed to be annotated in order to let
the code gen know that they needed to support it.

The PacketRepository is injected into things via the main
thread (e.g., the MeshService) but due to the lazy declaration,
the database isn't hydrated until the DAO is access while on an
IO thread.
2022-02-08 13:57:04 -08:00
andrekir
94355e25f4 move CompanionDeviceManager back to SettingsFragment 2022-02-08 00:07:51 -03:00
andrekir
3001696f9c rename "save messages as csv" to "export rangetest.csv" 2022-02-06 10:30:28 -03:00
andrekir
00810374ea update dialog 2022-02-06 10:30:28 -03:00
andrekir
239a22c1bc add splash screen 2022-02-04 00:57:27 -03:00
Mike Cumings
6012bddbdc Fixes #340 Improve CSV file export 2022-02-03 18:15:06 -08:00
andrekir
c547109f80 change to snackbar notifications 2022-02-03 02:16:31 -03:00
andrekir
d76e631684 call perhapsChangeChannel from qr code result 2022-02-03 02:13:35 -03:00
andrekir
084c16bfe9 clean up and reformat 2022-01-31 21:55:24 -03:00
andrekir
dc852b97ba add bluetooth_connect permission checks 2022-01-31 21:19:54 -03:00
andrekir
6d53b78007 change shouldShowDialog default to false 2022-01-26 14:43:32 -03:00
andrekir
f5c9363d06 add bluetooth scan permission 2022-01-25 18:14:10 -03:00
andrekir
8aa2f546b0 update permissions 2022-01-25 15:59:45 -03:00
andrekir
71e8e9ff6f fix provideLocationCheckbox 2022-01-25 01:20:31 -03:00
andrekir
23063516b0 update notifications to snackbar 2022-01-24 14:56:17 -03:00
Andre Kirchhoff
128ded7a68
fix permissions for android >= 31 2022-01-19 01:06:38 -03:00
andrekir
45ce83db99 clean up companion device pairing 2022-01-09 00:25:40 -03:00
andrekir
dd4fbc12d5 add ClassicScan button, timer & permissions check 2022-01-08 17:33:20 -03:00
andrekir
e8999712d2 fix companion device pairing 2022-01-07 18:51:20 -03:00
Jm Casler
dccb1e1422
Merge pull request #336 from meshtastic/provideLocation
add provideLocation service start/stop
2022-01-04 16:45:02 -08:00
andrekir
2441e1bada add provideLocation service start/stop 2022-01-03 21:59:30 -03:00
andrekir
7643acbdb4 fix tabLayout smoothScroll crash 2022-01-02 15:29:27 -03:00
andrekir
e21f3fdf93 add location only logic 2021-12-15 09:04:44 -03:00
andrekir
3ba0b30304 update permission strings 2021-12-14 17:03:38 -03:00
andrekir
10ed90a0c6 allow permission deny 2021-12-14 08:49:23 -03:00
andrekir
062dbbc47d camera permissions routine 2021-11-19 01:20:54 -03:00
Kevin Hester
6fa6588eca don't show update dialog if we are already updating 2021-07-26 16:18:40 -07:00
Kevin Hester
74f7281a60 better dialog for background location 2021-06-23 12:17:06 -07:00
Kevin Hester
c5fc6bc319 wait to show location missing toast until after we hear back from android 2021-06-23 11:56:29 -07:00
Kevin Hester
7efaf56f4f location warnings are now much cleaner 2021-06-23 11:40:15 -07:00
Kevin Hester
9c1316ea09 WIP - work with background location being optional 2021-06-10 10:58:45 -07:00
Kevin Hester
b14061e6cc warn repeatedly about missing permissions 2021-05-10 08:09:42 +08:00
Zbynek Merhaut
2c17a6f95d Added dark theme option 2021-04-11 12:10:17 +02:00
Kevin Hester
7e21d63044 cope with malformatted broadcasts 2021-04-02 13:55:41 +08:00
Kevin Hester
091b18a5bb fix autobug - apparently EXTRA_DEVICE can be null on some implementations 2021-03-31 19:40:33 +08:00
Kevin Hester
5b653d29f8 reformat per coding conventions 2021-03-29 20:33:06 +08:00
Kevin Hester
5f6cb7637c Merge remote-tracking branch 'root/master' into dev1.2
# Conflicts:
#	app/src/main/java/com/geeksville/mesh/MainActivity.kt
2021-03-24 13:49:46 +08:00
Kevin Hester
dd9a2b99d7 fix autobug NPE 2021-03-23 13:21:51 +08:00
Vadim Furman
13d63ee52b More rssi 2021-03-22 21:21:58 -07:00
Vadim Furman
b5c5cf0153 Fixed formatting 2021-03-21 18:15:54 -07:00
Vadim Furman
8aa7585fdd Merge remote-tracking branch 'upstream/master' 2021-03-19 16:55:22 -07:00
Vadim Furman
5e4470d25e Use default scope for file save and display snr 2021-03-19 14:33:55 -07:00
Kevin Hester
54bf0e85c1 make 1.2 firmware update work even for old 1.0 devices 2021-03-19 22:49:51 +08:00
Kevin Hester
a18343e30c Merge remote-tracking branch 'root/master' into dev1.2
# Conflicts:
#	app/src/main/java/com/geeksville/mesh/service/MeshService.kt
#	app/src/main/java/com/geeksville/mesh/service/MockInterface.kt
#	app/src/main/res/values/strings.xml
2021-03-19 15:09:33 +08:00
Vadim Furman
78a08898fe Save messages in CSV and fix position broadcast 2021-03-17 21:00:01 -07:00
Kevin Hester
3175d5e2d2 autobug while app shutting down 2021-03-17 15:53:08 +08:00
Kevin Hester
98356b9205 fix autobug crash when primary channel is null 2021-03-17 15:37:09 +08:00