Declare that DownloadProvider uses cleartext HTTP traffic.
Alex Klyubin [Tue, 14 Apr 2015 20:59:59 +0000 (13:59 -0700)]
DownloadProvider offers downloading over HTTP and HTTPS.

Bug: 19215516
Change-Id: I4f0583fd0b00842892a5229f1a87c7af53c5abe4

AndroidManifest.xml

index 579f8dd..df65cda 100644 (file)
@@ -60,7 +60,8 @@
     <application android:process="android.process.media"
                  android:label="@string/app_label"
                  android:icon="@mipmap/ic_launcher_download"
-                 android:allowBackup="false">
+                 android:allowBackup="false"
+                 android:usesCleartextTraffic="true">
 
         <provider android:name=".DownloadProvider"
                   android:authorities="downloads" android:exported="true">