merge in nyc-release history after reset to nyc-dev
[android/platform/packages/providers/DownloadProvider.git] / AndroidManifest.xml
index cee7cbc..8720523 100644 (file)
     <!-- TODO: replace with READ_NETWORK_POLICY permission when it exists -->
     <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
     <uses-permission android:name="android.permission.MODIFY_NETWORK_ACCOUNTING" />
+    <uses-permission android:name="android.permission.CLEAR_APP_CACHE" />
     <uses-permission android:name="android.permission.WAKE_LOCK" />
+    <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
 
     <application android:process="android.process.media"
                  android:label="@string/app_label"
                  android:icon="@mipmap/ic_launcher_download"
-                 android:allowBackup="false">
+                 android:allowBackup="false"
+                 android:supportsRtl="true"
+                 android:usesCleartextTraffic="true">
 
         <provider android:name=".DownloadProvider"
                   android:authorities="downloads" android:exported="true">
             </intent-filter>
         </provider>
 
-        <service android:name=".DownloadService"
-                android:permission="android.permission.ACCESS_DOWNLOAD_MANAGER" />
+        <service
+            android:name=".DownloadJobService"
+            android:exported="true"
+            android:permission="android.permission.BIND_JOB_SERVICE" />
+
+        <service
+            android:name=".DownloadIdleService"
+            android:exported="true"
+            android:permission="android.permission.BIND_JOB_SERVICE" />
+
         <receiver android:name=".DownloadReceiver" android:exported="false">
             <intent-filter>
                 <action android:name="android.intent.action.BOOT_COMPLETED" />
-                <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
+                <action android:name="android.intent.action.UID_REMOVED" />
             </intent-filter>
             <intent-filter>
                 <action android:name="android.intent.action.MEDIA_MOUNTED" />
                 <data android:scheme="file" />
             </intent-filter>
         </receiver>
-
-        <activity android:name=".SizeLimitActivity"
-                  android:launchMode="singleTask"
-                  android:theme="@style/Theme.Translucent"/>
     </application>
 </manifest>