38
submitted 1 month ago by ByteMe@lemmy.world to c/opensource@lemmy.ml

I just launched my first app. It's a simple app that pops up a toast notification when hdr content is being played, kinda like TVs do

you are viewing a single comment's thread
view the rest of the comments
[-] BakedCatboy@lemmy.ml 3 points 1 month ago

Hmm unfortunately it doesn't work on my pixel 5 which is running android 16 and should be api level 36

[-] ByteMe@lemmy.world 2 points 1 month ago

Yes, it's not an API issue, check my disclaimer in readme

[-] BakedCatboy@lemmy.ml 3 points 1 month ago

Ah, maybe it could detect the api level, and show a generic error message if your api level meets the requirements but it still didn't work.

[-] ByteMe@lemmy.world 1 points 1 month ago

Didn't you see an "unsupported device" message?

[-] BakedCatboy@lemmy.ml 2 points 1 month ago

Yeah but the learn more link points to the getHdrSdrRatio documentation which says available in api level 34. Maybe that can only show if you're using <34

[-] ByteMe@lemmy.world 1 points 1 month ago

I've restricted the API to 34+ anyway.

this post was submitted on 23 Apr 2026
38 points (100.0% liked)

Open Source

47138 readers
379 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS