Commit Graph

1946 Commits

Author SHA1 Message Date
Joris Pelgröm
2da1a36c55
Websocket onMessage: prevent out of order delivery due to launch (#3990)
Websocket onMessage: prevent out of order delivery due to launch
2023-11-01 19:01:20 -04:00
Daniel Shokouhi
15574f7531
Update change log week of 10/27 (#3978) 2023-10-28 09:44:52 -07:00
Joris Pelgröm
e8815f12e5
Always send sensor registration device class + entity category to prevent errors due to old registration (#3977)
* Always send device class during registration

 - Always send the device class for a sensor during registration to overwrite any existing invalid values

* Only send sensor registrations with null properties to core 2023.2+
2023-10-28 11:18:03 -04:00
Joris Pelgröm
7d76bb4b51
Update tiles logged out state to prevent cut off overflow, shortcuts tile label (#3975)
Update tiles logged out state to prevent cut off overflow

 - Limit length of logged out state string to prevent text cut off and shorten strings to help with translations
 - Fix inconsistent shortcuts tile name
2023-10-28 11:15:22 -04:00
Joris Pelgröm
73c928d6e4
Update shortcut tile add/remove + destroy handling (#3974)
- Updates the shortcut tile's handling of add/remove event + destroying the service, just like the camera tile, to prevent the service scope being cancelled while the app is still storing tile added/removed
 - (this service already didn't overwrite existing tile data when onTileAddEvent was called again)
2023-10-28 11:14:55 -04:00
dependabot[bot]
d143da9ea3
Bump horologist from 0.5.8 to 0.5.9 (#3971)
Bumps `horologist` from 0.5.8 to 0.5.9.

Updates `com.google.android.horologist:horologist-composables` from 0.5.8 to 0.5.9
- [Release notes](https://github.com/google/horologist/releases)
- [Commits](https://github.com/google/horologist/compare/v0.5.8...v0.5.9)

Updates `com.google.android.horologist:horologist-compose-layout` from 0.5.8 to 0.5.9
- [Release notes](https://github.com/google/horologist/releases)
- [Commits](https://github.com/google/horologist/compare/v0.5.8...v0.5.9)

---
updated-dependencies:
- dependency-name: com.google.android.horologist:horologist-composables
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.android.horologist:horologist-compose-layout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-25 23:26:11 -04:00
Daniel Shokouhi
a596a1183d
Use deprecated wifi method in case WifiInfo is null (#3970)
* Use deprecated wifi method in case WifiInfo is null

* Add comment about why we are reusing the deprecated method
2023-10-25 23:24:27 -04:00
Joris Pelgröm
5314e4b08b
Update Jetpack/Google dependencies (Oct 2023) (#3966) 2023-10-22 12:19:47 -04:00
Daniel Shokouhi
51b30fc19f
Update change log week of 10/20 (#3963) 2023-10-20 16:03:49 -07:00
Justin Bassett
f7b4818488
Bump okhttp and merge deps. (#3962) 2023-10-20 22:25:23 +00:00
dependabot[bot]
0c3e228cfa
Bump io.sentry:sentry-android from 6.31.0 to 6.32.0 (#3951)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.31.0 to 6.32.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/6.31.0...6.32.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 17:49:02 -04:00
dependabot[bot]
2b59ac13d5
Bump horologist from 0.5.7 to 0.5.8 (#3946)
Bumps `horologist` from 0.5.7 to 0.5.8.

Updates `com.google.android.horologist:horologist-composables` from 0.5.7 to 0.5.8
- [Release notes](https://github.com/google/horologist/releases)
- [Commits](https://github.com/google/horologist/compare/v0.5.7...v0.5.8)

Updates `com.google.android.horologist:horologist-compose-layout` from 0.5.7 to 0.5.8
- [Release notes](https://github.com/google/horologist/releases)
- [Commits](https://github.com/google/horologist/compare/v0.5.7...v0.5.8)

---
updated-dependencies:
- dependency-name: com.google.android.horologist:horologist-composables
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.android.horologist:horologist-compose-layout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 17:48:45 -04:00
dependabot[bot]
9d13333d48
Bump rickstaa/action-create-tag from 1.6.3 to 1.6.4 (#3942)
Bumps [rickstaa/action-create-tag](https://github.com/rickstaa/action-create-tag) from 1.6.3 to 1.6.4.
- [Release notes](https://github.com/rickstaa/action-create-tag/releases)
- [Commits](https://github.com/rickstaa/action-create-tag/compare/v1.6.3...v1.6.4)

---
updated-dependencies:
- dependency-name: rickstaa/action-create-tag
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 17:47:48 -04:00
Joris Pelgröm
607833d4c7
Update launcher icon, Play Store feature graphic (#3960)
* Update launcher icon, Play Store feature graphic

 - Update launcher icon to better match other Android app launcher icon sizes
 - Update Play Store feature graphic to new version

* Cannot deduplicate this launcher icon on Wear

* ktlint
2023-10-20 17:47:26 -04:00
Daniel Shokouhi
e10ec793d4
Show sensor state in secondary label in Wear OS sensor UI (#3959)
* Show sensor state in secondary label in Wear OS sensor UI

* Review comments

* Remove runBlocking in previews and invert label check to match phone
2023-10-20 17:46:41 -04:00
Joris Pelgröm
cda25479d6
Add clear_notification support to Wear OS (#3956)
- Move the clear_notification command to common extensions and add support in the Wear OS app
2023-10-20 17:45:48 -04:00
Joris Pelgröm
a94c90e5aa
Improve camera tile add/remove event handling (#3954)
- If there is already a camera tile with the ID of the tile in `onTileAddEvent` stored in the database, don't overwrite it with a new blank tile as the user configuration might be lost.
 - Run add/remove event code blocking to prevent the system immediately destroying the service and as a result cancelling the work to save tile data in the database. Without the blocking code I could semi-reliably get it to destroy the service within several milliseconds of adding/removing, often preventing the database code from running.
2023-10-20 17:45:15 -04:00
Daniel Shokouhi
6118933e4e
Update change log week of 10/13 (#3939) 2023-10-14 08:33:42 -04:00
Joris Pelgröm
4486a42400
Add Harman template host to car service allowlist (#3937) 2023-10-14 08:33:21 -04:00
dependabot[bot]
84d3a86d6d
Bump io.sentry:sentry-android from 6.30.0 to 6.31.0 (#3936)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.30.0 to 6.31.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/6.30.0...6.31.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-14 08:33:09 -04:00
dependabot[bot]
dd4c0a126f
Bump org.jlleitschuh.gradle.ktlint from 11.6.0 to 11.6.1 (#3927)
Bumps org.jlleitschuh.gradle.ktlint from 11.6.0 to 11.6.1.

---
updated-dependencies:
- dependency-name: org.jlleitschuh.gradle.ktlint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 20:52:29 -04:00
dmiales
eba9295644
Bugfix/crash web view (#3787)
* bugfix/crashWebView reload webview after crash

* bugfix/crashWebView reload webview after crash

* bugfix/crashWebView reload webview after crash

* bugfix/crashWebView reload webview after crash

* bugfix/crashWebView reload webview after crash

* bugfix/crashWebView reload webview after crash

* bugfix/crashWebView reload webview after crash

* bugfix/crashWebView reload webview after crash

* bugfix/crashWebView codereview
2023-10-12 20:52:16 -04:00
Joris Pelgröm
dbbf7473ac
Prevent notification attachments failing due to spaces ( ) in url (#3930) 2023-10-12 20:50:32 -04:00
Joris Pelgröm
26c6bcd282
Fix icon button sizes (#3918)
* Fix icon button sizes

* Merge fixes
2023-10-06 18:38:09 +00:00
Joris Pelgröm
65863148fc
Update entity button with toggle styling to match M3 components (#3923)
Update entity button styling to match M3 components
2023-10-06 18:08:22 +00:00
Daniel Shokouhi
fb739596fc
Change log week of 10/6 (#3922) 2023-10-06 12:57:06 -04:00
Daniel Shokouhi
2a597602f1
Fix detail pane after material 3 migration, add additional previews (#3920) 2023-10-06 12:56:48 -04:00
Daniel Shokouhi
709ca07e8c
Shorten some settings strings (#3921)
* Shorten some settings strings

* Remove unused string
2023-10-06 16:51:32 +00:00
Justin Bassett
14751ae235 Remove the backtick from release notes. 2023-10-06 12:49:00 -04:00
Justin Bassett
1bdde35ad2 Hopefully fix generating release notes. 2023-10-06 12:36:49 -04:00
Joris Pelgröm
f2e9541264
Fix Picker rotary input on some devices and update design (#3919) 2023-10-06 11:38:40 -04:00
Daniel Shokouhi
f23a6cb046
Update Chip and ToggleChip to Button and ToggleButton except for WearToggleChip (#3917)
* Update complication config screen to m3 components

* Clean up some code so its resuable

* Review comments and bump library

* Migrate more screens

* Review comments

* Tweak some colors

* Use consistent button container color

* Remove unnecessary font color

* Tweak Button disabled color to match ToggleButton

* Update a couple more chips and a preview

* Use in app color default
2023-10-06 11:37:17 -04:00
Daniel Shokouhi
d7a08d3b08
Update manual onboarding screens to prevent the button from overlapping elements (#3909)
* Update manual onboarding screen to prevent the button from overlapping elements

* Limit to 2 lines of text

* Switch to ScrollView

* Add padding for round devices

* Review comments
2023-10-05 09:58:08 -04:00
dependabot[bot]
a14441ff1a
Bump org.altbeacon:android-beacon-library from 2.19.6 to 2.20 (#3915)
Bumps [org.altbeacon:android-beacon-library](https://github.com/AltBeacon/android-beacon-library) from 2.19.6 to 2.20.
- [Release notes](https://github.com/AltBeacon/android-beacon-library/releases)
- [Changelog](https://github.com/AltBeacon/android-beacon-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/AltBeacon/android-beacon-library/commits)

---
updated-dependencies:
- dependency-name: org.altbeacon:android-beacon-library
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-05 09:57:47 -04:00
dependabot[bot]
795654be48
Bump hilt from 2.48 to 2.48.1 (#3911)
Bumps `hilt` from 2.48 to 2.48.1.

Updates `com.google.dagger:hilt-android-compiler` from 2.48 to 2.48.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.48...dagger-2.48.1)

Updates `com.google.dagger:hilt-android` from 2.48 to 2.48.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.48...dagger-2.48.1)

Updates `com.google.dagger.hilt.android` from 2.48 to 2.48.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.48...dagger-2.48.1)

---
updated-dependencies:
- dependency-name: com.google.dagger:hilt-android-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:hilt-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger.hilt.android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-05 09:57:44 -04:00
Daniel Shokouhi
d3a1f318f8
Begin migrating Wear OS components to Material 3 (#3904)
* First commit of migrating Wear OS components to Material 3

* Tweak more colors, fix some variables, use switches and bold more text

* More clean up

* Fix color in default chip

* Clean up unused code
2023-10-05 09:57:41 -04:00
Márton Maráz
2641422e50
Add NFC state sensor (#3905)
* Add first draft for NFC sensor

* Rename NfcSensorManager.nfcSensor to nfcStateSensor

* Move NfcSensorManager to the common module

* Add BroadcastReceiver subscription to NfcAdapter.ACTION_ADAPTER_STATE_CHANGED in both the app and wear modules

* Remove TODO comments

* Change updateType to INTENT

* Convert simple methods to expression body

* Change mdi:nfc to mdi:nfc-variant

* Fix docs URL

* Reword NFC sensor manager according to the PR suggestions
2023-10-05 09:57:33 -04:00
Daniel Shokouhi
8c7e4e5b4f
Update gradle to 8.3 (#3903) 2023-10-02 18:28:44 -04:00
Daniel Shokouhi
49cc4aa7d3
Use recommended splash screen library for Wear OS (#3908)
* Use recommended splash screen library for Wear OS

* More tweaks per recommendations

* Add splash screen to Assist

* Add splash screen for Assist

* Use mipmap instead of drawable
2023-10-02 18:24:39 -04:00
Daniel Shokouhi
f9c7bceac0
Switch to Wear Device specific preview (#3906) 2023-10-02 18:23:48 -04:00
Daniel Shokouhi
b290d568ef
Update change log week of 9/29 (#3901)
* Update change log week of 9/29

* Move up icon change

* Update all version numbers
2023-09-29 22:51:46 -04:00
dependabot[bot]
09698f0e37
Bump io.sentry:sentry-android from 6.29.0 to 6.30.0 (#3900)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.29.0 to 6.30.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/6.29.0...6.30.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-29 22:48:21 -04:00
Joris Pelgröm
ae3248ca4d
Update Wear more details screen to prevent cut off (#3899) 2023-09-29 22:47:36 -04:00
Daniel Shokouhi
a15f7b3bc4
Add missing scroll bar to remaining screens (#3895)
* Add missing scroll bar to remaining screens

* Add Scaffold to ThemeLazyColumn

* Remove unneeded variable

* Remove nested scaffold
2023-09-29 08:29:56 -04:00
Joris Pelgröm
2f777a1379
ListHeader: fix text cut off (#3898)
ListHeader: set overflow, limit lines based on font size

 - Set overflow for ListHeader to ellipsis instead of cutting of text
 - Set the maximum number of lines for ListHeader based on the font size
 - Center text in the list header for nicer appearance in case of multiple ines
2023-09-28 17:40:39 -04:00
Joris Pelgröm
4a4cc31b97
Update icon (#3888)
* Update icon

 - Replace old icon with the new icon
 - Update app primary color to new blue tint
 - Deduplicate resources

* Update feature graphic

* Decouple app icon color from main color
2023-09-28 17:38:48 -04:00
Joris Pelgröm
b0ad11d04f
Add troubleshooting tool: location history (#3886)
* Add location history (location, trigger, result)

 - Initial setup saving data, no UI, cleanup or preferences yet

* On/off setting, limit history size and basic UI

 - Add a on/off setting for location history (default on)
 - Limit the history size to 48 hours, any older entries will be deleted during regular sensor updates
 - Add a basic UI for location history based on paging considering the possible data size with multiserver/high accuracy. The list looks good and shows status at a glance, detail view still needs work.

* Finish expanded UI

 - Make the expanded UI nicer and show relevant data, buttons for opening the location in a maps app and sharing log data
 - Add empty states for location history

* Filter by state, improve list speed

 - Add option to filter by state
 - Simplify Room configuration and sort by indexed ID to improve list loading speed

* Remove duplicate source

* Fix minimal

* Split sent into sent and failed to send
2023-09-28 17:37:37 -04:00
dependabot[bot]
639d814408
Bump actions/setup-java from 3.12.0 to 3.13.0 (#3882)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.12.0 to 3.13.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.12.0...v3.13.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-23 10:59:50 -04:00
Daniel Shokouhi
847b8f4a42
Update change log week of 9/22 (#3885) 2023-09-23 10:59:13 -04:00
Joris Pelgröm
43cc4d4a73
Fix rotary input after first screen & for picker (#3881)
- The recent switch to Horologist modifiers for rotary input broke after the first screen because of manual focus requesting, and the refresh interval picker in general so also switch that to a Horologist modifier.
2023-09-20 19:42:20 -04:00