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

Ensure notifications can show on the top of old devices' home screen #46

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Goooler
Copy link
Contributor

@Goooler Goooler commented Mar 24, 2024

On platforms O and above this value is ignored in favor of the values set on the notification's channel. On older platforms, this value is still used, so it is still required for apps supporting those platforms.

See https://developer.android.com/reference/androidx/core/app/NotificationCompat.Builder#setDefaults(int).

These tests are running on an Android 5 emulator:

Before After
before.webm
after.webm

> On platforms O and above this value is ignored in favor of the values set on the notification's channel. On older platforms, this value is still used, so it is still required for apps supporting those platforms.

See https://developer.android.com/reference/androidx/core/app/NotificationCompat.Builder#setDefaults(int).
@Goooler Goooler force-pushed the compat-old-devices-message-showing branch from 0147ec5 to 9a265c5 Compare March 31, 2024 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant