Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

"Signal is unlocked" Notification not low priority on Android 8.1

Open RichJeanes opened this issue 8 years ago • 8 comments

I have:

  • [x] searched open and closed issues for duplicates
  • [x] read https://github.com/WhisperSystems/Signal-Android/wiki/Submitting-useful-bug-reports

Bug description

Since I got the update to Android 8.1, the "Signal is unlocked" notification cannot be set as low priority, leaving the "unlocked" icon in my notification bar permanently.

Steps to reproduce

  • Set a password on Signal on a device running Android 8.1

Actual result: Signal's "Signal is unlocked" notification priority cannot be modified, leaving it permanently in the notification bar. Expected result: Signal should (at minimum) be able to make the persistent notification low priority. Preferably, Signal should support notification channels: one for messages, one for calls, one for the persistent "unlocked" notification, etc.

Device info

Device: Google Pixel 2 XL Android version: 8.1.0 (Build OPM1.171019.011) Signal version: 4.14.7

RichJeanes avatar Dec 14 '17 17:12 RichJeanes

The notification is set to low priority, but I assume Android 8.1 has made the decision to display any foreground service notification as normal priority.

moxie0 avatar Dec 14 '17 19:12 moxie0

It appears that without any notification categories, it isn't even possible to manually set the priority for any/all of the app's notifications. I can only set global notification settings for Signal. screenshot_20171215-154316

RichJeanes avatar Dec 15 '17 22:12 RichJeanes

Separate notification channels should be defined for "unlocked" and "new message/call" notifications to allow setting different priorities for each.

(probably "connected" notification on gapps-free devices should have it's own channel as well)

FYI: https://developer.android.com/guide/topics/ui/notifiers/notifications.html#ManageChannels

scienmind avatar Dec 31 '17 10:12 scienmind

I noticed this annoyance on my OnePlus 3T after the December Update of Oxygen OS. This is still Android 8.0, so it's not exclusive to 8.1.

m3adow avatar Jan 01 '18 11:01 m3adow

It's interesting that this is an issue because according to that documentation

If you don't target Android 8.0 (API level 26) but your app is used on devices running Android 8.0 (API level 26), your app behaves the same as it would on devices running Android 7.1 (API level 25) or lower.

Since Signal targets level API 25, shouldn't the "Unlocked" notification be behaving the same as before?

RichJeanes avatar Jan 02 '18 14:01 RichJeanes

I noticed this annoyance on my OnePlus 3T after the December Update of Oxygen OS. This is still Android 8.0, so it's not exclusive to 8.1.

There seem to be issues with Oxygen OS and notifications, I had the same issue but when I logged in and out of a different user the notification became low priority upon unlocking the Signal db. I disabled and re-enabled Signal notifications, maybe that fixed it for me?

eaon avatar Jan 07 '18 21:01 eaon

GitHub Issue Cleanup: See #7598 for more information.

automated-signal avatar Apr 03 '18 04:04 automated-signal

Support for notification channels is included in Signal version 4.25 which will be rolling out to beta users soon. The following channels and default priority levels are included on Android 8.0 or higher:

  • Messages (High)
  • Failures (High)
  • Backups (Low)
  • Locked status (Low)
  • App updates (High - For users on the website distribution build)
  • Other (Low)

jlund-signal avatar Aug 08 '18 18:08 jlund-signal