Extension: Modified Notification Style to support Android 12 and above

The discussion of the Notification Style extension includes the configurable Properties of Importance and Priority.

  • Importance Channel
    Define the importance of the channel check here for more information.
    blocks (68)
    component_set_get (13)
    Default: 2
  • IMPORTANCE_MIN âžœ 0
  • IMPORTANCE_LOW âžœ 1
  • IMPORTANCE_DEFAULT âžœ 2 (default)
  • IMPORTANCE_HIGH âžœ 3
  • IMPORTANCE_MAX âžœ 2
  • Priority Notification
    Set notification priority, check here for more information
    blocks (67)
    component_set_get (12)
    Default: 2
  • PRIORITY_MIN âžœ 0
  • PRIORITY_LOW âžœ 1
  • PRIORITY_DEFAULT âžœ 2 (default)
  • PRIORITY_HIGH âžœ 3
  • PRIORITY_MAX âžœ 2

For both, the Default value listed is "2". However the "more information" link leads me to the conclusion that "Default" is another constant in both cases.

Default importance seems to be "3"

Default notification importance: shows everywhere, makes noise, but does not visually intrude.

Constant Value: 3 (0x00000003)

And Default Priority seems to be "0"

Default notification priority. If your application does not prioritize its own notifications, use this value for all notifications.

Constant Value: 0 (0x00000000)

What am I missing? Are the default values for Priority and Importance both "2" or are they "0" and "3" respectively?

Kind regards,
Randal