• Jeff Sharkey's avatar
    Teach DownloadManager about network policy. · 96102438
    Jeff Sharkey authored
    Now network access is determined by using getActiveNetworkInfoForUid()
    which uses BLOCKED to indicate that network should be rejected for
    the requesting UID.  While download in progress, watch for any policy
    changes that should trigger pause.
    
    Also check NetworkInfo.isConnected() for correctness.
    
    Change-Id: I1efa79823f15ecc3fa088a6719da1b770c64b255
    96102438
AndroidManifest.xml 5.28 KB