[Android] Update foregroundServiceType for VPN #40571
Labels
dev-concern
feature/vpn
OS/Android
Fixes related to Android browser functionality
QA/No
release-notes/exclude
Milestone
Description
We have a new change coming with Android 15 related to foreground services https://developer.android.com/about/versions/15/behavior-changes-15#datasync-timeout.
We use it for VPN, the main change is that Android OS won't allow to run it for more than 6 hours in 24 hours (unless the user interacts with the app, resetting the timer).
Solution : We can use https://developer.android.com/about/versions/14/changes/fgs-types-required#system-exempted as it's ideal for VPN apps.
The text was updated successfully, but these errors were encountered: