diff options
author | cyberta <cyberta@riseup.net> | 2020-12-28 14:11:55 -0800 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2020-12-28 14:11:55 -0800 |
commit | f2056a9f469c09f9d2deaad25c4a9b71275e5140 (patch) | |
tree | 60a0053cfea3fbbfa24a168bba784f541c4e093c /app/src/fatweb/AndroidManifest.xml | |
parent | 3485971b9fc2e4602f7f4482b4b3a44e9e683efa (diff) | |
parent | 13a495d18917f9b8952088b4a3e960239c5a168c (diff) |
Merge branch 'automatic_updates_for_web_apks' into 'master'
Automatic updates for web apks
Closes #8960
See merge request leap/bitmask_android!115
Diffstat (limited to 'app/src/fatweb/AndroidManifest.xml')
-rw-r--r-- | app/src/fatweb/AndroidManifest.xml | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/app/src/fatweb/AndroidManifest.xml b/app/src/fatweb/AndroidManifest.xml new file mode 100644 index 00000000..28246e5f --- /dev/null +++ b/app/src/fatweb/AndroidManifest.xml @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2011 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="se.leap.bitmaskclient"> + + <!-- if you want to run test, this permissions are needed. Gradle will get rid of them once we implement it. --> + <!-- <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> + <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/> + <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> + <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> + <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> --> + <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/> + + <application> + <service + android:name=".appUpdate.DownloadService" + android:exported="false" + android:permission="android.permission.BIND_JOB_SERVICE"> + </service> + + <!-- other intent filters are added on runtime --> + <receiver android:name=".appUpdate.DownloadBroadcastReceiver" android:exported="false"> + <intent-filter> + <action android:name="android.intent.action.PACKAGE_INSTALL"/> + <data android:scheme="package"/> + </intent-filter> + </receiver> + + <provider android:name="androidx.core.content.FileProvider" + android:authorities="${applicationId}.fileprovider" + android:exported="false" + android:grantUriPermissions="true"> + + <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_provider_paths" /> + + </provider> + <activity + android:name=".appUpdate.InstallActivity" + android:theme="@style/invisibleTheme" /> + </application> + + + + + +</manifest> |