Commit graph

1395 commits

Author SHA1 Message Date
Joris Pelgröm 8d4822a23d
Thread debug log: make extended PAN ID more readable (#3868) 2023-09-17 16:56:15 -04:00
Daniel Shokouhi 9ece6c7c28
Only use the base URL during onboarding if the URL is Nabu Casa (#3322)
* Only use the base URL during onboarding

* Use HttpUrl Builder to construct proper URL

* Move variable to try/catch block

* Only apply logic to NC URLs as those do not have custom path

* Only parse the end of the URL

* Deduplicate code per review
2023-09-17 16:55:38 -04:00
Joris Pelgröm 50a8b9eee2
Don't force on/yes/y/off/no/n to booleans for service button (#3858)
- Relax string conversion to boolean as this breaks other use cases.
2023-09-12 21:51:13 -04:00
Joris Pelgröm fb1bdc05bb
Prevent GeofencingRequest exception on no zones (#3857) 2023-09-12 21:48:53 -04:00
Joris Pelgröm 4163e1465e
Add Android 14 device controls panel (#3855)
* Prepare controls panel activity for Android 14

* Allow controls panel to work while locked

* UI to enable/disable controls panel

 - Disable panel by default
 - Add area to controls settings on Android 14 to enable/disable panel

* Panel server/path settings

 - Add setting to choose which server and path to use for the panel

* Remove transition animation for panel

* experience -> mode
2023-09-12 21:47:57 -04:00
Daniel Shokouhi 3568a69101
Change log week of 9/8 (#3853) 2023-09-08 20:29:32 -04:00
Joris Pelgröm 21bfda0946
Thread sync BA ID troubleshooting updates (#3847)
* Fix deleting orphaned Thread credentials

 - Deleting orphaned Thread datasets (= datasets for servers that have been deleted for the app) actually deleted current datasets. No real harm except it's deleting stuff and adding it again.

* Log app added preferred Thread network details for debugging

* Always delete Thread datasets using placeholder on >=2023.9

* More detailed log for update app added dataset action
2023-09-06 22:06:29 +00:00
RoboMagus 54d59828bc
Fix Duplicate Biometric prompts (#3842)
Mitigate duplicate biometric prompts caused by unexpected WindowFocusChanged events.
2023-09-06 08:32:15 -04:00
Daniel Shokouhi 8c612d402d
Change log week of 9/1 (#3836)
* Update change log week of 9/1

* Bump versions
2023-09-01 21:08:31 -04:00
Stefan Agner 5a9c3922b9
Fix Thread border agent IDs encoded as hex second instance (#3838)
* Fix Thread border agent IDs encoded as hex second instance

* Remove unnecessary toByteArray() and brackets

* Fix indentation
2023-09-01 21:07:50 -04:00
Joris Pelgröm b6687dc762
Shortcut path input improvements (#3831) 2023-08-31 19:53:32 -04:00
Daniel Shokouhi 90bf7369e2
Clean up some left over code after update to getIcon (#3827) 2023-08-31 19:53:10 -04:00
Joris Pelgröm a9b7dfdb68
Prevent entity ID typos throwing errors (#3829)
Prevent typos throwing errors for more info panel
2023-08-29 06:02:54 -04:00
Joris Pelgröm 02160c4f48
Fix Thread border agent IDs encoded as hex (#3828) 2023-08-28 17:44:49 -04:00
Daniel Shokouhi bb58a578dd
Use unavailable and unknown states consistently when dealing with sensors and entities (#3821)
* Use unavailable and unknown states consistently when dealing with sensors and entities

* Update more sensors

* Remove unused import
2023-08-28 17:43:25 -04:00
Joris Pelgröm 201931b91e
Improve handling my link when not logged in (#3826) 2023-08-28 17:42:20 -04:00
Daniel Shokouhi c11f2da26f
Update change log week of 8/25 (#3819)
* Update change log week of 8/25

* Review comments
2023-08-26 15:39:53 -07:00
Joris Pelgröm 6d4fa06545
Thread updates: add border agent ID, multiserver improvements (#3820)
* Add/update/delete Thread credentials by border agent ID

* Multiserver: only keep one HA credential, handle credentials for deleted servers

 - Make sure the app only stores one HA credential that matches the preferred credential for the server executing the sync.
 - Create an 'orphaned Thread credentials' system to be able to delete credentials for servers that have been previously deleted.

* Fix minimal
2023-08-26 16:54:40 -04:00
Daniel Shokouhi 6c2e555e57
Various changes to entity usage (#3816)
* Various changes to entity usage

* Remove unneeded code

* String fixes

* Remove redundant string
2023-08-26 16:53:31 -04:00
Joris Pelgröm cad1bfa47e
Fix restoring custom fields in service button widget (#3813)
- When reading service data from the database, make sure to also add custom fields.
 - Fix RecyclerView not setting fields to empty when no value is present, potentially showing input from other recycled fields if the field doesn't have any value.
 - Fix adding a new custom field destroying any input currently held in the views by using a specific insertion method instead of all changed, which will reset the values.
2023-08-24 14:51:48 -04:00
Joris Pelgröm d115e7af56
Update deeplink support with multiserver: ask which to use (#3811)
- Ask the user which server to use, instead of assuming the most recently used, when using deeplinks with an app that has multiple servers configured
2023-08-24 14:44:08 -04:00
Daniel Shokouhi 1bdbd3f2ce
Android Auto: Set icon color when entity is considered in an active state (#3805)
* Android Auto: Set icon color when entity is considered in an active state

* Add link to frontend code for determing active state

* Add lawn_mower domain and a check on supported colored domains

* Split up isActive and state colored domains

* Update map screen
2023-08-24 14:43:10 -04:00
Justin Bassett 30d0c61c3b
Update Changelog for 2023.8.3 (#3804)
* Update Changelog for 2023.8.3

* Update release version
2023-08-19 17:09:48 -04:00
Joris Pelgröm 7f14582909
Add 'toggle' tap action to entity state widget (#3798)
* [WIP] Widget tap action: toggle entity

* Add feedback on press and failure

* Share code for pressing on entities

* Align cover press action

 - Toggle will stop if possible when opening/closing if supported so prefer toggle instead of open/close

* Toggle by default if supported

 - Set the default tap action for supported entities to toggle instead of refresh

* Update widget description
2023-08-19 19:24:44 +00:00
Daniel Shokouhi 477c299272
Catch errors when intent URI is not valid (#3799) 2023-08-19 14:37:34 -04:00
Joris Pelgröm f722de9561
Replace deprecated menu functions with MenuProvider (#3776)
* Squash merge Migrate to MenuProvider (#2974) by @NotWoods

* Merge fixes

* Update sensor detail fragment menu for multiserver

* Menu fixes/additions

 - Add HelpMenuProvider to Android Auto favorites
 - Fix notification history fragment having no view because of missing super call
 - Fix crash in device controls view if a server that is offline is selected

* ktlint

* Simplify some code

 - Undo formatting change in SettingsActivity
 - Don't require each activity to convert the string to URIs if we can do it in one place

* Remove setHasOptionsMenu(false) usage
2023-08-19 14:34:38 -04:00
Joris Pelgröm 01326db427
Discard notifications when not registered to prevent crash (#3784)
* Discard notifications when not registered to prevent crash

* Add same check to Wear
2023-08-11 19:22:29 +00:00
Daniel Shokouhi 2650ca72c6
Update change log week of 8/11 (#3780) 2023-08-11 15:46:25 +00:00
Joris Pelgröm cea54d6895
Stop TTS playback on new Assist pipeline run (#3778) 2023-08-11 11:31:17 -04:00
Daniel Shokouhi 256835a380
Add update sensors notification command to Wear OS (#3774) 2023-08-10 13:55:54 -04:00
Joris Pelgröm f90d80638e
Auto: reload entity registry, show loading when changing servers (#3769)
* Reload entity registry, show loading when changing servers

* Don't block collecting server IDs by using a Job
2023-08-08 16:05:33 -04:00
Daniel Shokouhi 6a8fd5989a
Hide all entities when we dont have domains to show, show empty message just in case (#3767) 2023-08-07 16:35:50 -04:00
Daniel Shokouhi 28b6d8ec32
Add support for alarm control panels in android auto (#3765)
* Add support for alarm control panels in android auto

* Check for domain when checking if there is a code

* Check that armed_away is a supported state

* Review comments

* Add some missing strings, match state casing with HA core
2023-08-07 15:53:03 -04:00
Daniel Shokouhi 2d439f11ea
Set car sensors state appropriately if sensor registers with unit of measurement (#3764)
* Set car sensor state appropriately if sensor registers with unit of measurement

* Stick to unavailable for better consistency
2023-08-07 15:50:21 -04:00
Daniel Shokouhi 0425d7cf97
Change log week of 8/4 (#3758) 2023-08-04 18:54:36 -07:00
Joris Pelgröm 49f3080b9e
Update ExoPlayer usage (#3760)
* Switch to StyledPlayerView for migration

* Migrate to media3 for ExoPlayer

* Replace deprecated code

* Restore/customize layout to ExoPlayer v2
2023-08-04 20:07:52 -04:00
Daniel Shokouhi 77141c254b
Keep track of adding domains to remove loader when user has no actionable entities (#3757)
* Keep track of adding domains to remove loader when user has no actionable entities

* invalidate when no domains added
2023-08-04 20:05:15 -04:00
Joris Pelgröm add1955901
Assist last used: remember STT and record proactively (before connected) (#3755)
Assist last used: remember STT and record before connected

 - For the last used pipeline for Assist, remember whether or not it supports STT input, and if it does start recording proactively/as soon as possible to avoid missing voice input while doing network checks.
 - Fix potential wrong server while sending voice data.
 - Fix voice input remaining active after getting an error response.
2023-08-04 10:59:27 -04:00
Daniel Shokouhi 56798849fe
Reset carInfo when our session is destroyed since data will be stale (#3754) 2023-08-04 10:55:00 -04:00
Joris Pelgröm e274b7e15e
Fix persistent connection notification command (#3753)
Fix persistent connection server command
2023-08-04 10:54:44 -04:00
Joris Pelgröm 91fdba5706
Handle empty array/invalid URL during discovery (#3747) 2023-08-01 12:57:05 -04:00
Daniel Shokouhi 0be1749f4c
Hide hidden entities from android auto domains (#3731)
* Hide hidden entities from android auto domains

* Fix import order
2023-08-01 12:56:49 -04:00
Justin Bassett b0deb6de77
Migrate deploys to Fastlane (#3745)
* Migrate deploys to Fastlane

* Couple minor fixes to onPush.yml

* Copy paste is hard
2023-08-01 11:08:12 -04:00
Justin Bassett 1a6c2b94d2
Initial work on migrating plugins to catalogs. (#3737)
* Initial work on migrating plugins to catalogs.

* Remove Enterprise Build profiling since we really don't use it.

* Use a common Java Version and sdk versions.

* ktlint

* Review comments.
2023-07-31 20:35:39 -04:00
Daniel Shokouhi 94413801ec
Hide some sensors from unsupported devices (#3740)
* Hide some sensors from unsupported devices

* Move UI manager to condition
2023-07-31 15:19:14 -04:00
Joris Pelgröm 644c4ad657
Invalidate Auto home on favorite state change (#3736) 2023-07-31 15:18:24 -04:00
Joris Pelgröm 670b17e76c
Apply various IDE code quality suggestions (#3734) 2023-07-31 15:17:42 -04:00
Daniel Shokouhi a111776e39
Allow binary sensors and sensors to be added to driving favorites (#3732)
* Allow binary sensors and sensors to be added to driving favorites

* Ensure sensors can still be navigated to

* Review comments
2023-07-31 15:14:58 -04:00
Justin Bassett ba3170362e
First Steps into making Gradle Catalogs (#3724)
* First Steps into making Gradle Catalogs

* Rename a couple dependencies.

* Downgrade compose compiler since it'll take more to bump the kotlin version apparently.

* Code review comments.

* Refactoring these are painful.

* Now I know my ABC, next time wont you sing with me....
2023-07-29 11:11:08 -04:00
Daniel Shokouhi 2ced00815c
Update change log week of 7/28 (#3730) 2023-07-28 11:33:31 -07:00
Joris Pelgröm 7b40dec713
Smarter discovery for already added instances (#3723)
- Hide already added instances when adding another server to the app when found in discovery
 - Show already added instances with their external URL in discovery when logging in a Wear OS device
2023-07-28 13:52:29 -04:00
Daniel Shokouhi 447ad5e30a
Show favorites only if selected server has favorites (#3729) 2023-07-28 13:50:35 -04:00
Daniel Shokouhi d33bdf4b9a
Update sensors when driving interface is open or resumed (#3726)
* Update sensors when driving interface is open

* Switch to proper sensor update command
2023-07-28 13:49:53 -04:00
Daniel Shokouhi e3b44ac109
Add navigation entities to favorites and convert nav screen to grid (#3725)
* Add navigation entities to favorites and convert nav screen to grid

* Consistent null checks

* More consistency
2023-07-28 13:49:28 -04:00
Daniel Shokouhi 54836c8db2
Bump some project dependencies (#3718) 2023-07-27 15:42:50 -04:00
Daniel Shokouhi 4069d29d0a
Android auto: Switch to GridTemplate for home screen and default to favorites if defined (#3694)
* Android auto: default to favorites if defined

* Fix changing servers

* Fix empty favorites list

* Review comments

* Account for extra grid items when showing favorites

* Switch to grid view for home screen, show all domains when there are no favorites for the server

* Review comments

* Clean up and move some methods to util

* Collect favorites with allEntities

* Review comments

* Move native mode logic back

* Check distraction again in domain screen

* Use base class to get distraction optimized variable

* Send blank template if user is not logged in

* Mark variables as private

* Fix icon resolution for grid items
2023-07-27 15:41:22 -04:00
Joris Pelgröm a0a3c51960
Show application names, not only package names, in sensor settings (#3700)
Show application labels in addition to/instead of package names in sensor settings
2023-07-24 10:30:44 -04:00
Daniel Shokouhi 2f042ae56f
Match android auto dependency versions (#3695) 2023-07-24 10:28:20 -04:00
Daniel Shokouhi a214e327dc
Update change log week of 7/21 (#3691)
* Update change log week of 7/21

* Review comment

* Mention favorites
2023-07-21 17:21:58 -07:00
Joris Pelgröm 42ede5344c
Text field consistency updates (#3693)
* Replace OutlinedTextField with TextField

* Text field consistency updates

  - Replace `OutlinedTextField` with the filled `TextField`
  - Replace server dropdown button with server dropdown menu
2023-07-21 19:28:58 -04:00
Joris Pelgröm e4f697fc3b
Resume Assist voice input on new intent (as assistant app/brought to front) (#3692)
* Resume Assist voice input on new intent (as assistant app/brought to front)

* Use constants for android.intent.action.ASSIST

 - android.intent.action.VOICE_ASSIST is marked as internal
2023-07-21 14:11:57 -04:00
Daniel Shokouhi 605e6ec914
Add favorites selection for Android Auto (#3670)
* Add favorites selection for Android Auto

* Move reorderable to implementation

* Small clean up

* Hide from minimal build

* Show on automotive builds and change some titles to match that device

* Update strings to be more precise about driving optimized

* Review comments

* Switch from string set to string to preserve order

* Move some conversion logic to PrefsRepository

* clean up

* Review comments

* Consistency updates
2023-07-21 14:11:14 -04:00
Daniel Shokouhi 455da053d1
Add sensors to report car energy profile (#3688) 2023-07-20 21:50:48 -04:00
Daniel Shokouhi c02025e0f8
Only add up to the allowed limit of list items to android auto (#3687) 2023-07-20 21:47:42 -04:00
Joris Pelgröm f4eb29cee3
Don't send group summary notifications to Android Auto (#3686)
Don't send group notifications to cars
2023-07-20 21:45:27 -04:00
Daniel Shokouhi 8cc594e945
Only show unit of measurement if we have it and if the state is not a string while managing sensors (#3685)
* Only show unit of measurement if we have it and if the state is not a string

* Remove parentheses
2023-07-20 21:44:37 -04:00
dependabot[bot] 7e12eaee3a
Bump io.sentry:sentry-android from 6.25.2 to 6.26.0 (#3682)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.25.2 to 6.26.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.25.2...6.26.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-07-20 07:03:10 -04:00
Daniel Shokouhi d421b88db2
Send state based on reported status, apply car prefix to car sensors, add some logging around new car sensors (#3668)
* Apply car prefix to car sensors, add some logging around new car sensors

* Update state based on reported status, minor clean up

* Make code more concise per review comment

* Use unavailable when status is not given
2023-07-19 16:18:05 -04:00
Justin Bassett c4da52bdab
Hilt Dependency Update (#3681)
* Bump com.google.dagger:hilt-android-gradle-plugin from 2.46.1 to 2.47

Bumps [com.google.dagger:hilt-android-gradle-plugin](https://github.com/google/dagger) from 2.46.1 to 2.47.
- [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.46.1...dagger-2.47)

---
updated-dependencies:
- dependency-name: com.google.dagger:hilt-android-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump com.google.dagger:hilt-android-compiler from 2.46.1 to 2.47

Bumps [com.google.dagger:hilt-android-compiler](https://github.com/google/dagger) from 2.46.1 to 2.47.
- [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.46.1...dagger-2.47)

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

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

* Bump com.google.dagger:hilt-android from 2.46.1 to 2.47

Bumps [com.google.dagger:hilt-android](https://github.com/google/dagger) from 2.46.1 to 2.47.
- [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.46.1...dagger-2.47)

---
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>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 15:35:11 -04:00
dependabot[bot] d50fc04ce9
Bump io.sentry:sentry-android from 6.25.1 to 6.25.2 (#3672)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.25.1 to 6.25.2.
- [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.25.1...6.25.2)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-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-07-18 18:44:37 -04:00
Joris Pelgröm 7b79024c1b
Update Thread network sync to update/delete HA networks (#3676) 2023-07-18 18:43:39 -04:00
Joris Pelgröm ef916f606b
Breaking change: support last_used/preferred pipeline IDs and use last_used by default (#3669)
Support last_used/preferred pipeline IDs and use last_used by default
2023-07-18 18:42:36 -04:00
Joris Pelgröm cd62f17fac
Use new entity picker for more settings (#3662) 2023-07-17 08:08:51 -04:00
Joris Pelgröm bc103636db
Update/replace deprecations in app module (#3661) 2023-07-17 08:08:20 -04:00
drosoCode 33dfc69949
Add CarInfo sensors (#3399)
* Add CarInfoSensorManager

* use overrideLibrary instead of increasing minSdk

* use fullImplementation

* ensure that the sensor is enabled

* check sensorid for required permissions

* fix formatting

* start app notification

* merge CarInfoSensorManager into AndroidAutoSensorManager

* fix formatting

* fix merge error

* add other sensors

car name, manufacturer, manufacturing year, odometer, ev status (connected, charging port open/close)

* prevent multiple notifications

* apply review comments

* add "needs to be started" state to sensors

* apply review comments

* add android auto channel

* set car battery level as diagnostic sensor

* remove onNewIntent (not needed)

* formatting

* remove notification code

* replace "android_auto" prefix by "car"

* move carinfo sensors to main instead of full

* move android car sdk override to main

* update unavailable message

* add hasSensor method

* hide sensors for automotive

* move automotive check and limit sensors to full version

* remove _level from sensor names and ids

* remove alreadySentMessage
2023-07-17 08:05:00 -04:00
Daniel Shokouhi 4b1be89fc5
Update change log week of 7/14 (#3660)
* Update change log week of 7/14

* Update version number and replace Phone with Main
2023-07-14 16:44:02 -07:00
dependabot[bot] 2804e7c4a8
Bump io.sentry:sentry-android from 6.25.0 to 6.25.1 (#3658)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.25.0 to 6.25.1.
- [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.25.0...6.25.1)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-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-07-14 15:35:52 -04:00
Daniel Shokouhi 8e55e57897
Hide android auto sensor section from devices that do not support it (#3657) 2023-07-14 15:34:22 -04:00
Joris Pelgröm 9d64260e1f
Implement a frontend-like single entity picker (#3653)
* Implement a frontend-like single entity picker

 - Adds a new Composable `SingleEntityPicker` which aims to provide a text input with autocomplete search for entities like the frontend, where you can pick one

* Improve filtering to allow suggestions with space, searching for entity IDs

 - Trim search input so the space automatically added after an IME suggestion is ignored
 - Also search entity ID but sort those results second, friendly name keeps priority
2023-07-14 15:34:05 -04:00
Joris Pelgröm dbae8d2613
Assistant app intent fallback to 'safe' intent if not found (#3654)
- It looks like not all devices keep the original settings names, fallback to the 'manage default apps' intent if we cannot directly open the screen for the assistant app setting
2023-07-11 19:50:37 +00:00
Daniel Shokouhi 23c35af6a2
Force update on media session sensor when a session is in progress (#3652)
* Force update on media session sensor when a session is in progress

* Switch logic to only update when media is actively playing
2023-07-11 14:16:23 -04:00
Joris Pelgröm f17a9d338d
Don't show assistant app suggestion on L, show on M (#3646)
- Don't suggest setting HA as the assistant app on Android L as this setting doesn't exist yet
 - Allow suggesting setting HA as the assistant app on Android M as this setting was added in M
2023-07-09 17:32:01 -04:00
Joris Pelgröm 8bf32b30e9
Minor update to Auto(motive) login screen (#3647) 2023-07-09 17:31:27 -04:00
Daniel Shokouhi 8ad07f4b16
Fix broken Wear OS docs link in settings (#3644) 2023-07-09 01:39:16 +00:00
Daniel Shokouhi 4ef79b8e1e
Update change log week of 7/7 (#3643) 2023-07-07 20:10:26 -07:00
dependabot[bot] 0d8ae72922
Bump io.sentry:sentry-android from 6.24.0 to 6.25.0 (#3637)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.24.0 to 6.25.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.24.0...6.25.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-07-07 11:57:14 -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
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 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
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