public final class DownloadManagerResolver
extends java.lang.Object
isDownloadManagerEnabled(Context)
checks if DownloadMangaer is enabled
enableDownloadManager(Context)
sent to settings to enable DownloadMangaerModifier and Type | Field and Description |
---|---|
private static java.lang.String |
DOWNLOAD_MANAGER_PACKAGE_NAME |
Constructor and Description |
---|
DownloadManagerResolver() |
Modifier and Type | Method and Description |
---|---|
static void |
enableDownloadManager(android.content.Context context)
Start activity to Settings to enable DownloadManager.
|
static boolean |
isDownloadManagerEnabled(android.content.Context context)
checks whether the DownloadManager is enable in current devices.
|
private static final java.lang.String DOWNLOAD_MANAGER_PACKAGE_NAME
public static boolean isDownloadManagerEnabled(android.content.Context context)
context
- public static void enableDownloadManager(android.content.Context context)