Skip to content
Commit 0766c554 authored by Elliot Sisteron's avatar Elliot Sisteron
Browse files

Don’t create SC notification channels if notifications are disabled.

This doesn't take into account the flag being toggled, but we have
a separate bug to track that. This would probably require a DeviceConfig
listener to clear the notification state when flag goes from true
to false (and to create the channels when the opposite happens).

Bug: 287970155
Test: manual (not trivial to test because channels are also created when
posting notifications)
Relnote: N/A

Change-Id: I84d0681d40a6455136f488a5af94cb43d36056d1
parent 6c21720b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment