Commit graph

1667 commits

Author SHA1 Message Date
dependabot[bot] 9029f098d0
Bump com.google.guava:guava from 32.0.1-android to 32.1.1-android (#3630)
* Bump com.google.guava:guava from 32.0.1-android to 32.1.1-android

Bumps [com.google.guava:guava](https://github.com/google/guava) from 32.0.1-android to 32.1.1-android.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add dependency resolution strategy per release notes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joris Pelgröm <joris.pelgrom@gmail.com>
2023-07-07 11:56:59 -04:00
dependabot[bot] 7a8247caf9
Bump org.altbeacon:android-beacon-library from 2.19.5 to 2.19.6 (#3629)
* Bump org.altbeacon:android-beacon-library from 2.19.5 to 2.19.6

Bumps [org.altbeacon:android-beacon-library](https://github.com/AltBeacon/android-beacon-library) from 2.19.5 to 2.19.6.
- [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-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Remove unused beacon library in app/automotive, add appcompat to common

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joris Pelgröm <joris.pelgrom@gmail.com>
2023-07-07 11:53:39 -04:00
Joris Pelgröm 0949d570d5
Add Android Auto notification extension (#3642)
Add Auto notification extension + vector icon

 - Add an option to have notifications show up on Android Auto
 - Apply color filter to MDI notification icons as Android Auto doesn't make them white
 - Switch default notification icon for vector icon
2023-07-07 11:51:10 -04:00
Joris Pelgröm ef469fb977
Only invalidate vehicle template UI when contents change (#3641)
* Don't invalidate Auto main screen if domains don't change

* Don't invalidate Auto domain/map screen if contents don't change
2023-07-07 11:43:36 -04:00
Joris Pelgröm 774e89c58e
Implement suggestion area in app settings (#3640)
Implement suggestion area in settings

 - Add a suggestion area to the top of the main app settings screen where very important settings can be promoted; to start setting HA as assistant app and enabling the notification permission
2023-07-07 11:41:35 -04:00
Joris Pelgröm e53533ed4a
Fix Thread sync throwing exception sometimes crashing app (#3634)
- Thread credential syncing uses the provided CoroutineScope to run other functions that throw exceptions. When using a normal Job a thrown exception will mean that everything in that scope is cancelled and propagates, even if caught. That isn't wanted so use a SupervisorJob instead when running this function to make sure that when caught nothing else stops.
2023-07-07 11:30:33 -04:00
dependabot[bot] be022a5272
Bump org.jlleitschuh.gradle.ktlint from 11.4.2 to 11.5.0 (#3632)
Bumps org.jlleitschuh.gradle.ktlint from 11.4.2 to 11.5.0.

---
updated-dependencies:
- dependency-name: org.jlleitschuh.gradle.ktlint
  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-07-04 13:26:04 -04:00
Joris Pelgröm d1b17aa606
Jetpack Compose icon dialog (#3631)
* Add icon dialog based on Jetpack Compose

TODO

* Migrate to new icon dialog

* Migrate old database

* Don't wrap with drawablecompat

* Rebase fixes and updates

 - Fix and update database migration
 - Fix dependencies
 - Fix shortcut icons
 - Fix ComposeView in AlertDialog not working by switching implementation to DialogFragment
 - Fix icons that no longer exist
 - ktlint

* Visual compatibility

 - Automotive asset
 - Handle icon ids in shortcuts to prevent users losing icons when updating shortcuts
 - Add padding, color filter to shortcut icons to keep icons consistent with older icons
 - Increase button widget icon padding to keep sizing consistent
 - Add tip to dialog about searching in non-English languages

* Fix line endings

---------

Co-authored-by: Tiger Oakes <contact@tigeroakes.com>
2023-07-04 13:25:32 -04:00
Justin Bassett 938c515549
Allow weekly workflow to start push workflow
https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow
2023-07-02 15:54:43 -04:00
Justin Bassett 39269d065c
Use old logic for promoting from internal to beta 2023-07-01 07:07:24 -04:00
Joris Pelgröm ce3a51e417
Fix monthly tag (#3628) 2023-07-01 06:25:21 -04:00
Justin Bassett 7a7464c070
Bump dependency versions. (#3627) 2023-07-01 01:14:24 +00:00
Daniel Shokouhi ba2e9c975f
Update change log week of 6/30 (#3626)
* Update change log week of 6/30

* Add extra PR.

---------

Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
2023-07-01 00:48:19 +00:00
Joris Pelgröm 3338437e7d
Support sensor display precision (#3625)
* Support sensor display precision

* Apply Lint suggestion in same function
2023-06-30 20:04:56 -04:00
Joris Pelgröm 8dbdfebb7b
Hide a few GMS features unavailable on Automotive (#3623) 2023-06-30 18:26:20 -04:00
Justin Bassett b0a7641a1a
Fix dirty SCM (#3624)
* Add `git status` check to determine what's dirty.

* Put the locale stuff in the app/wear folders rather than common with the real data.

* Revert "Add `git status` check to determine what's dirty."

This reverts commit 8513c0b09f.

* Leave the git status check for sanity later.
2023-06-30 21:09:13 +00:00
Justin Bassett bd7c02c30d
Make sure our credential files are ignored from SCM. (#3617) 2023-06-29 23:29:01 -04:00
Joris Pelgröm 2023268e37
Add 'Manage assistants' button to native Assist (#3616) 2023-06-29 22:19:45 -04:00
Joris Pelgröm 48a7755e62
Add shortcut for Assist (#3615)
- Adds a shortcut to the app that allows accessing Assist from the home screen, including options for pipeline and voice/text
2023-06-29 22:19:13 -04:00
Joris Pelgröm 1ed0f6a094
Add troubleshooting menu to settings, with Thread credentials sync (#3614)
* Add troubleshooting menu to settings, with Thread credentials sync

 - Add a troubleshooting menu to the app settings which includes logs/debugging settings
 - Add an option to manually sync Thread credentials and view the result

* Less technical messages matching frontend
2023-06-29 22:18:28 -04:00
Daniel Shokouhi c75b315d81
Hide native mode UI from automotive play store builds (#3612)
* Hide native mode UI from automotive play store builds

* Remove launch transition

* Simply automotive check
2023-06-29 22:17:51 -04:00
Joris Pelgröm edf6ba5b9f
Use Assist pipeline STT/TTS on Wear OS (#3611)
* Use Assist pipeline STT/TTS on Wear OS

 - Update Assist pipeline support on Wear OS to use the pipelines' STT/TTS capabilities, if available and if the app has the required permission
 - Move UrlHandler functions (app) to UrlUtil (common)

* Create a base AssistViewModel for sharing code

 - Creates AssistViewModelBase in common to share Assist tasks that appear in both the main app and watch app

* Keep screen on during voice input to avoid interruption
2023-06-29 22:17:26 -04:00
Daniel Shokouhi 72722bd605
Hide devices that are home from the android auto navigation screen (#3610)
Hide devices that are home from the navigation screen
2023-06-29 22:16:30 -04:00
Daniel Shokouhi 25999ac591
Supply entity ID if friendly name is empty in android auto (#3609) 2023-06-29 22:16:14 -04:00
Justin Bassett 0ef3bc4461
First attempt at a new release model. (#3597)
* First attempt at a new release model.

* Fix bad syntax

* Bump year and month with another job

* Use the plugin's version in apps.

* Make sure to generate the pre release weekly.

* Review Comments.
2023-06-26 09:05:17 -04:00
dependabot[bot] b25466f0ef
Bump org.jlleitschuh.gradle.ktlint from 11.4.0 to 11.4.2 (#3602)
Bumps org.jlleitschuh.gradle.ktlint from 11.4.0 to 11.4.2.

---
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-06-26 02:27:24 +00:00
dependabot[bot] 47dafe6632
Bump io.sentry:sentry-android from 6.23.0 to 6.24.0 (#3603)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.23.0 to 6.24.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.23.0...6.24.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-06-25 22:01:03 -04:00
dependabot[bot] d81772df42
Bump com.github.ben-manes.versions from 0.46.0 to 0.47.0 (#3598)
Bumps com.github.ben-manes.versions from 0.46.0 to 0.47.0.

---
updated-dependencies:
- dependency-name: com.github.ben-manes.versions
  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-06-25 22:00:40 -04:00
Joris Pelgröm 27d53fc672
Add intent filter for button to Wear Assist activity (#3608) 2023-06-25 22:00:22 -04:00
Joris Pelgröm 02793338e2
Minor Assist UI feedback/changes (#3607)
- Remove attribution
 - Scroll when messages are updated in case messages are longer than the "…" while running
 - Animation for active voice input
2023-06-25 21:59:55 -04:00
Joris Pelgröm 3c706bb7b1
Update Wear Assist with continued conversations, pipelines (#3604)
- Allow continuing conversation for Assist on watches by adding a mic input button at the bottom of the screen
 - Allow changing pipelines for Assist on watches when on a supported core version
 - Preparing for pipeline STT and TTS
2023-06-25 21:58:54 -04:00
Daniel Shokouhi b7c6be457e
Update change log week of 6/23 (#3606)
* Update change log week of 6/23

* Update assist mention to be more specific
2023-06-23 11:42:20 -07:00
dependabot[bot] 16eabfe34f
Bump io.sentry:sentry-android from 6.21.0 to 6.23.0 (#3590)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.21.0 to 6.23.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.21.0...6.23.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-06-19 14:51:41 -04:00
dependabot[bot] 89b217ffef
Bump com.google.guava:guava from 32.0.0-android to 32.0.1-android (#3578)
Bumps [com.google.guava:guava](https://github.com/google/guava) from 32.0.0-android to 32.0.1-android.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  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-06-19 14:51:31 -04:00
dependabot[bot] 30024d5255
Bump org.jetbrains.kotlin:kotlin-stdlib from 1.8.21 to 1.8.22 (#3573)
Bumps [org.jetbrains.kotlin:kotlin-stdlib](https://github.com/JetBrains/kotlin) from 1.8.21 to 1.8.22.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  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-06-19 14:51:20 -04:00
dependabot[bot] 3e7e1d9cbf
Bump org.jlleitschuh.gradle.ktlint from 11.3.2 to 11.4.0 (#3571)
Bumps org.jlleitschuh.gradle.ktlint from 11.3.2 to 11.4.0.

---
updated-dependencies:
- dependency-name: org.jlleitschuh.gradle.ktlint
  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-06-19 14:51:06 -04:00
Joris Pelgröm 1cae83c40e
Implement native Assist (#3589)
* Native Assist setup + text input

* Minor (text input) UI tweaks and fixes

 - Set a very light window tint to increase contrast on white backgrounds
 - Keyboard to outline for consistency
 - Text input: keyboard action, keyboard icon to outline for consistency, show keyboard when switching
 - Fix reset conversation on recreation

* Voice input

 - Add basic voice input support to the native Assist interface

* Voice input bugfixes

 - Don't block voice output while sending data via websocket
 - Drop voice output data if there is a subscriber and the buffer is full by specifying a buffer + overflow strategy that matches behavior when there are no subscribers
 - Properly stop AudioRecord reading when job is cancelled (non-suspending function)
 - Stop recorder before stopping output collection

* Voice responses (generated TTS) playback

 - Play received tts-end events when using voice input
 - Update permission info on resume to catch granted permissions while in the background

* Pipeline switcher

 - Allow switching between all different pipelines
 - Add icon content descriptions

* Check + show attribution

* Prevent sheet that is too high pushing controls away

* UI feedback: pipelines and attribution

* Update Automotive manifest

* Fix speech bubble size for larger responses

* Update manifest to handle tasks/backstack better

 - Set the affinity to a value to make sure Assist is always launched in another task than the main app
 - Automatically remove from recents as Assist will be the only thing in it's task, after finishing there's nothing left to (re)start

* App-specific feature checks and error handling

 - Check for microphone support on device
 - Handle connectivity errors
 - Handle argument errors
 - Handle errors for pipelines that are no longer visible

* More UI feedback

 - Add a title to the sheet to make sure people know this is the Home Assistant app
 - Fix TextField alignment

* More header means max height adjustment
2023-06-19 14:50:06 -04:00
Joris Pelgröm b586bf9955
Update manifest for Matter commissioning (#3586)
https://developers.home.google.com/matter/apis/home#calling_other_android_apps
2023-06-19 14:10:53 -04:00
Joris Pelgröm 4c7549080b
Expose docs for websocket Matter/Thread functions (#3579) 2023-06-19 14:10:00 -04:00
Joris Pelgröm 5d1801cb01
Set Wear theme background color to black (#3572)
* Set Wear theme background color to black

* Remove background color in individual screens
2023-06-19 14:09:44 -04:00
Joris Pelgröm e8fae5dc50
Move vehicle service to main to allow for minimal Automotive build (#3570)
* Move vehicle service to minimal to allow for minimal Automotive build

 - Move the vehicle package from full to main so it is included in the minimal build as well, to allow for a minimal Automotive build
 - Adjust dependencies from full to any version (checked: the androidx.car dependency does not have a dependency on any GMS libraries)
 - Move Automotive CarAppActivity + service + metadata to main manifest; not moved in app module because it is only used for Android Auto there
 - Adjust GitHub Actions to include minimal Automotive APK

* Cleanup duplicate Play Services coroutines dependency

* Cleanup duplicate <uses-feature> for camera

* Missed one GMS dependency
2023-06-19 14:09:10 -04:00
Daniel Shokouhi b285c9525d
Update change log for June (#3581) 2023-06-12 19:07:04 +00:00
dependabot[bot] bc248b6343
Bump io.sentry:sentry-android from 6.19.1 to 6.21.0 (#3564)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.19.1 to 6.21.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.19.1...6.21.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-06-03 01:01:52 +00:00
dependabot[bot] 0aad2cb18e
Bump com.google.guava:guava from 31.1-android to 32.0.0-android (#3559)
Bumps [com.google.guava:guava](https://github.com/google/guava) from 31.1-android to 32.0.0-android.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 20:45:55 -04:00
Joris Pelgröm 8dac1627f4
Update Wear Scaffold usage to be more consistent (#3562)
* Update TimeText to only show at the top of the screen

* Add Scaffold with PositionIndicator and TimeText where missing
2023-06-02 20:45:06 -04:00
Joris Pelgröm 2ff492a1c2
Speed up cold start by skipping Jackson ObjectMapper if possible (#3561) 2023-06-02 20:41:42 -04:00
Joris Pelgröm 9071302fef
Align dependency versions and bump Google dependencies (#3560)
* Align dependency versions and bump Google dependencies

* Fix overload resolution ambiguity
2023-06-02 20:40:15 -04:00
Joris Pelgröm af2fb670aa
Handle no WifiManager and prevent crash (#3555)
* Handle null WifiManager in WifiHelper

* Hide Wi-Fi sensors on null WifiManager

* Hide internal connection / Home Wi-Fi on null WifiManager
2023-05-28 14:12:29 -04:00
dependabot[bot] f121487a8a
Bump com.android.tools.build:gradle from 8.0.0 to 8.0.2 (#3553)
Bumps com.android.tools.build:gradle from 8.0.0 to 8.0.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  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-05-26 08:35:47 -04:00
dependabot[bot] a5cfab0c3d
Bump com.google.dagger:hilt-android from 2.45 to 2.46.1 (#3548)
Bumps [com.google.dagger:hilt-android](https://github.com/google/dagger) from 2.45 to 2.46.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.45...dagger-2.46.1)

---
updated-dependencies:
- dependency-name: com.google.dagger:hilt-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-05-26 08:35:31 -04:00