Use FLAG_UPDATE_CURRENT for managing multiple calls to startForegroundService. This ensures only one instance of the intent is active and replaces any previously pending intents with the latest one.
Fixestailscale/corp#23828
Signed-off-by: kari-ts <kari@tailscale.com>
(cherry picked from commit 753b8d3fb4)