0

Is there an API available to check whether Bubbles are enabled from Developer Options?

There is an API NotificationManager#areBubblesAllowed (https://developer.android.com/reference/android/app/NotificationManager#areBubblesAllowed()) but this only checks Bubble permission in application level.

rin
  • 1
  • 1

1 Answers1

0

This gives me the correct values:

Settings.Secure.getInt(contentResolver, "notification_bubbles")

0: Disabled 1: Enabled

rin
  • 1
  • 1