43 lines
1.8 KiB
XML
43 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
package="mozilla.components.feature.downloads" >
|
|
|
|
<uses-sdk android:minSdkVersion="21" />
|
|
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
<uses-permission
|
|
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
|
android:maxSdkVersion="28"
|
|
tools:ignore="ScopedStorage" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
|
|
|
|
<!-- Needed to prompt the user to give permission to install a downloaded apk -->
|
|
<uses-permission-sdk-23 android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
|
|
|
<!-- Needed to receive broadcasts from AC code -->
|
|
<uses-permission android:name="${applicationId}.permission.RECEIVE_DOWNLOAD_BROADCAST" />
|
|
|
|
<permission
|
|
android:name="${applicationId}.permission.RECEIVE_DOWNLOAD_BROADCAST"
|
|
android:protectionLevel="signature" />
|
|
|
|
<application android:supportsRtl="true" >
|
|
<provider
|
|
android:name="mozilla.components.feature.downloads.provider.FileProvider"
|
|
android:authorities="${applicationId}.feature.downloads.fileprovider"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true" >
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/feature_downloads_file_paths" />
|
|
</provider>
|
|
</application>
|
|
|
|
</manifest> |