Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Drop-In UI] fix road label position not updating in some cases #6508

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

Zayankovsky
Copy link
Contributor

@Zayankovsky Zayankovsky commented Oct 25, 2022

Description

I was able to reproduce the issue only in 1TAP. In some cases OnLayoutChangeListener is not invoked, unlike OnGlobalLayoutChangeListener. Also I disabled peek height change animations, because they don't work if you update info panel content at the same time (which I believe is a common case) and they cause issues if developer uses transitions for updating info panel content (in which case peek height change is animated already). This is how transitions look in 1TAP:

video.mp4

@Zayankovsky Zayankovsky added bug Defect to be fixed. UI Work related to visual components, Android Auto, Camera, 3D, voice, etc. labels Oct 25, 2022
@Zayankovsky Zayankovsky self-assigned this Oct 25, 2022
@Zayankovsky Zayankovsky marked this pull request as ready for review October 25, 2022 13:42
@Zayankovsky Zayankovsky requested a review from a team as a code owner October 25, 2022 13:42
@tomaszrybakiewicz tomaszrybakiewicz changed the title fix road label position not updating in some cases [Drop-In UI] fix road label position not updating in some cases Oct 25, 2022
Copy link
Contributor

@tomaszrybakiewicz tomaszrybakiewicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 Good catch. LGTM

@codecov
Copy link

codecov bot commented Oct 25, 2022

Codecov Report

Merging #6508 (a0d64d7) into main (906f53c) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##               main    #6508   +/-   ##
=========================================
  Coverage     70.33%   70.33%           
  Complexity     4909     4909           
=========================================
  Files           717      717           
  Lines         27951    27951           
  Branches       3295     3295           
=========================================
  Hits          19660    19660           
  Misses         7013     7013           
  Partials       1278     1278           
Impacted Files Coverage Δ
...avigation/dropin/infopanel/InfoPanelCoordinator.kt 70.37% <100.00%> (ø)

@Zayankovsky Zayankovsky merged commit 934e668 into main Oct 26, 2022
@Zayankovsky Zayankovsky deleted the vz-fix-road-label-issue branch October 26, 2022 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Defect to be fixed. UI Work related to visual components, Android Auto, Camera, 3D, voice, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants