Giter VIP home page Giter VIP logo

Comments (14)

OxygenCobalt avatar OxygenCobalt commented on August 11, 2024

Odd. This may be a samsung thing since it works on my device. Do other non-samsung apps show the cover art?

from auxio.

ibrajix avatar ibrajix commented on August 11, 2024

Odd. This may be a samsung thing since it works on my device. Do other non-samsung apps show the cover art?

Yes. They do. I personally developed a music player and it shows...

I used PlayerNotificationManager.createWithNotificationChannel()

Passing a DescriptionAdapter as a parameter which implements PlayerNotificationManager.MediaDescriptionAdapter

Overriden medthod getCurrentLargeIcon() is responsible for showing the bitmap displayed in the notification tray.

from auxio.

OxygenCobalt avatar OxygenCobalt commented on August 11, 2024

Hm. I just use NotificationBuilder.setLargeIcon for me. It seems like the PlayerNotificationManager ExoPlayer extension does something that I am not. Let me investigate further.

from auxio.

OxygenCobalt avatar OxygenCobalt commented on August 11, 2024

Quick question: Do you have the "Show Covers" or "Colorize Notification" setting off? Either one will result in the notification not displaying album art.

from auxio.

ibrajix avatar ibrajix commented on August 11, 2024

Quick question: Do you have the "Show Covers" or "Colorize Notification" setting off? Either one will result in the notification not displaying album art.

Noppe. They are not turned off.

from auxio.

OxygenCobalt avatar OxygenCobalt commented on August 11, 2024

Okay. Can you try this debug APK? [Rename the extension from .zip to .apk] It may be that some quirk about the asynchronous cover loading that results in the cover not being displayed. If it isn't this, then I have no idea what's going on.

app-debug.zip

from auxio.

ibrajix avatar ibrajix commented on August 11, 2024

Okay. Can you try this debug APK? [Rename the extension from .zip to .apk] It may be that some quirk about the asynchronous cover loading that results in the cover not being displayed. If it isn't this, then I have no idea what's going on.

app-debug.zip

Cant install - I am getting "App not Installed" error

from auxio.

OxygenCobalt avatar OxygenCobalt commented on August 11, 2024

Oh. Sometimes studio doesn't properly sign debug builds. I'll make a new one later today when I have time.

from auxio.

OxygenCobalt avatar OxygenCobalt commented on August 11, 2024

Okay, try this build. I did my best to copy whatever ExoPlayer does into my notification code.

app-debug.zip

from auxio.

ibrajix avatar ibrajix commented on August 11, 2024

Okay, try this build. I did my best to copy whatever ExoPlayer does into my notification code.

app-debug.zip

Sadly, still didnt show.. :(

from auxio.

OxygenCobalt avatar OxygenCobalt commented on August 11, 2024

Okay, it may actually be a race condition somehow. Try this:

app-debug.zip

from auxio.

ibrajix avatar ibrajix commented on August 11, 2024

Okay, it may actually be a race condition somehow. Try this:

app-debug.zip

Same thing, not showing.

I will check your code and see what might be the cause amd hopefully try to fix. :)

from auxio.

OxygenCobalt avatar OxygenCobalt commented on August 11, 2024

Sounds good. You'll probably want to start here.

from auxio.

ibrajix avatar ibrajix commented on August 11, 2024

Sounds good. You'll probably want to start here.

Check my pull request:

Its from this check:

if (!settingsManager.colorizeNotif)

It returns true, so this was called:

setLargeIcon(null)

Screenshot_20210821-200632_Auxio Debug

from auxio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.