i've making a file transfer app. i am using download manager in this. if backgroud data restriction is enabled, the transfers are being queued by the download manager.
i want to warn the user that file transfer doenst work if it is enabled.
is there a way to know if background data restriction is enabled programatically? I want this to happen even in Android Marshmallow.
Thanks in advance.