Is there a way to know if Data Saver is enabled?
问题 Android 7.0 Nougat added Data Saver feature allowing users to restrict background data of certain apps (including push notifications). When Data Saver is ON, only the apps on the list found in Settings → Data Saver → Unrestricted data access are allowed to receive push notifications and execute background network calls. If Data Saver is OFF and your app is not on the unrestricted list, it's pretty much like setting push notifications disabled. There is a use case in my app where it's waiting