-
Notifications
You must be signed in to change notification settings - Fork 445
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
Update LegacyConversions.java #1967
base: release
Are you sure you want to change the base?
Conversation
Thanks for your pull request. Can you elaborate a bit on what the bug is about, what the symptoms of the bug is and how this change fixes it? I'm asking because this is implemented in a specific way right now that takes into account expected behaviour for instance of the AVRPC also. After your change I think |
Hi, thanks for your prompt reply. |
Hmm, I actually have changed that on request of Auto and AAOS people and its reviewed by them. I can make them look at your request. For our information:
I don't understand this. How does the user see 'displayTitle' when the 'title' is displayed? Can you let me know what the intention of a developer is who sets With the current implementation before your change, setting the I will check with the Auto team also to discuss this. |
The
Here I am not referring to the developer but to the content/metadata of an audio or video file.
I don't think there is any use case that would suffer any problems in such a case. |
Now, I'm confused. You send a pull for This is called in three places. The first two:
these two are not used by Android Auto/AAOS I think. The remaining callsites are calling These come from what an app returns from for instance
How do you think is the metadata from the audio or video file leaking into these media items that are returned from the callback methods?
That's another case. If I'm not mistaken, here the media notification indeed may receive metadata from So if we can find evidence that some metadata from either in-band metdata (vid/audio files), ICY headers or other sources produces a But we wouldn't need to change Sorry, for asking this again. Can you elaborate a bit on what the bug is about, what the symptoms of the bug is and how this change fixes it? I'm afraid I insist, so please accept my apologies. I want to understand the change first, before starting to review. |
Let's consider this scenario: If As far as I can see, line 850 of LegacyConversions is the only place where
From what I've been able to verify, Android Auto seems to do what you're saying.
I have also seen this effect in the notification so it somehow reads information from the same place. Regarding |
In this case, I think your app should not do that. Many thanks for your thoughts. My offers stands under the conditions that I'm ok to repeat: Can you elaborate a bit on what the bug is about, what the symptoms of the bug is and how this change fixes it? Random unreasonable app behavior is not a bug to add this as a side note. It's fine with me if you respond again, but without you bringing up something substantial, I won't respond any further I'm afraid. I suggest to save your time in that case and for instance do a walk or something. I do snowboarding and I look forward to go to the mountains the first time this year. Good for stretching my mind every now and then. |
Adding to that, and maybe explaining the confusion: The display title is meant to be the preferred string that is displayed to the user instead of the regular title. This is pretty much the reason we prefer the |
As previously stated, the core issue is: |
I have fixed a possible bug when mixing displayTitle with title which causes displayTitle to appear when displayTitle should appear in legacy MediaControllers.