When a second notification appears shortly after another, e.g. a wifi network disconnects and then reconnects, replace the first notification with the second one. This avoids having a disconnected and a connected notification simultaneously.
Depends on D28691