Commit graph

141 commits

Author SHA1 Message Date
andrekir
0f3135978c update CompanionDevice Bluetooth bonding 2022-02-12 18:55:42 -03:00
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
3daa6eac46 use changeScanSelection after deviceManager association 2022-02-09 22:47:28 -03:00
andrekir
9562841922 add user feedback to changeRadioButton 2022-02-09 01:17:34 -03:00
andrekir
25e1ea2fb9 add confirmation feedback to bug report 2022-02-09 00:57:34 -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
a42ba77bf2 clean up snackbar 2022-02-07 21:50:31 -03:00
andrekir
5dc55b52f6 add confirmation dialog for firmware update 2022-02-06 10:30:28 -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
7a316928be update provideLocation feedback 2022-01-26 16:27:16 -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
d9e1f17418 handle bluetooth disabled 2022-01-25 01:34:46 -03:00
andrekir
71e8e9ff6f fix provideLocationCheckbox 2022-01-25 01:20:31 -03:00
andrekir
0fa33eac6b refactor provideLocationCheckbox 2022-01-24 16:44:18 -03:00
andrekir
23063516b0 update notifications to snackbar 2022-01-24 14:56:17 -03:00
andrekir
2bc12fe9d6 update play-services-location 2022-01-09 23:22:47 -03:00
andrekir
45ce83db99 clean up companion device pairing 2022-01-09 00:25:40 -03:00
andrekir
b95dcbb26e update common ui logic 2022-01-08 17:50:48 -03:00
andrekir
dd4fbc12d5 add ClassicScan button, timer & permissions check 2022-01-08 17:33:20 -03:00
andrekir
a3bd9564f5 split startScan into Setup/Start 2022-01-08 16:56:41 -03:00
andrekir
c0a5c4dd3c no permissions needed if hasCompanionDeviceApi 2022-01-08 16:43:52 -03:00
andrekir
d0614c7934 update initCommonUI 2022-01-08 16:30:06 -03:00
andrekir
bc57946aec convert changeRadioButton to fab 2022-01-08 16:18:36 -03:00
andrekir
e8999712d2 fix companion device pairing 2022-01-07 18:51:20 -03:00
andrekir
f6914de76e fix provideLocationCheckbox logic 2022-01-04 10:33:09 -03:00
andrekir
2441e1bada add provideLocation service start/stop 2022-01-03 21:59:30 -03:00
andrekir
c53179c090 add hasGpsSensor check 2021-12-15 12:02:01 -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
6f719f3111 undo 365da25 & update curfirmwareversion.xml 2021-12-11 19:12:07 -03:00
Andre Kirchhoff
365da25fa1
short_firmware_version --> cur_firmware_version
SettingsFragment.kt: short_firmware_version --> cur_firmware_version
revert: 56fd43e6f5
2021-11-28 16:49:54 -03:00
Kevin Hester
74a34cd9b6 store background location pref 2021-06-23 12:41:44 -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
b14061e6cc warn repeatedly about missing permissions 2021-05-10 08:09:42 +08:00
Kevin Hester
56fd43e6f5 use short firmware version in UI 2021-05-09 11:15:47 +08:00
Kevin Hester
82ebfd0094
Merge branch 'master' into master 2021-04-15 12:04:37 +08:00
Vadim Furman
b87ac0a1af Removed checking for device name to contain MAC address. We still verify it starts with Mesh 2021-04-13 17:50:34 -07:00
Kevin Hester
04f4a2a342 TCPInterface (for accessing the native-simulator) kinda works 2021-03-29 21:09:27 +08:00
Kevin Hester
9e42634402 cleanup mockinterface detection 2021-03-29 20:45:11 +08:00
Kevin Hester
5b653d29f8 reformat per coding conventions 2021-03-29 20:33:06 +08:00
Kevin Hester
d510576fa8 fix warnings 2021-03-29 19:08:42 +08:00
Kevin Hester
c9d18b00a4 don't let user update firmware without setting a region. 2021-03-20 17:47:02 +08:00
Kevin Hester
fa17c4efe1 fix new hwmodel based on testing with the simulator 2021-03-15 10:31:44 +08:00
Kevin Hester
e82153c999 1.2.6 2021-03-07 09:57:14 +08:00
Kevin Hester
d15ff7ed36 region setting is finished 2021-03-04 11:20:51 +08:00