title: Android: DownloadManager and COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED
body: <p>I'm trying to work around disabled Download Manager correctly. Best info I could find is <a href="https://stackoverflow.com/q/21551538/1833960">How to Enable Android Download Manager</a>.</p>
  
  <p><code>PackageManager.COMPONENT_ENABLED_STATE_DISABLED</code> and <code>PackageManager.COMPONENT_ENABLED_STATE_DISABLED_USER</code> states are quite understandable for me.</p>
  
  <p>But after hour of googling I'm still confused with <code>PackageManager.COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED</code>.</p>
  
  <p><a href="https://developer.android.com/reference/android/content/pm/PackageManager.html#COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED" rel="nofollow noreferrer">Documentation</a> reads:</p>
  
  <blockquote>
    <p>Flag for setApplicationEnabledSetting(String, int, int) only: This application should be considered, until the point where the user actually wants to use it. This means that it will not normally show up to the user (such as in the launcher), but various parts of the user interface can use GET_DISABLED_UNTIL_USED_COMPONENTS to still see it and allow the user to select it (as for example an IME, device admin, etc). Such code, once the user has selected the app, should at that point also make it enabled. This option currently can not be used with setComponentEnabledSetting(ComponentName, int, int).</p>
  </blockquote>
  
  <p>Does it mean that I should consider this state as enabled?</p>
  
  <p>How can user <em>select</em> DownloadManager? How can it <em>show up</em>?</p>