Data Saver (Android Development Patterns S3 Ep 6)
Check out the newer WorkManager library, which is built on top of JobScheduler – https://goo.gle/2SLTK1A
Metered connections have a real monetary cost associated with them for many users. Data Saver expands on the background optimizations available in Marshmallow by adding a system wide setting to disable background data usage on all apps.
With a new API added to ConnectivityManager, you can check the current state of Data Saver and adjust your apps’ data usage.
Check out the full documentation: https://goo.gl/X3IcUj
#BuildBetterApps #AndroidN #datasaver #background #connectivity