1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright 2015-2016 Soren Stoutner <soren@stoutner.com>.
6 This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
8 Privacy Browser is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
13 Privacy Browser is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with Privacy Browser. If not, see <http://www.gnu.org/licenses/>. -->
21 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
22 package="com.stoutner.privacybrowser" >
24 <!-- Required to load websites. -->
25 <uses-permission android:name="android.permission.INTERNET" />
27 <!-- Required to create homescreen shortcuts. -->
28 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
30 <!-- Required to upload files to websites. -->
31 <!-- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> -->
33 <!-- on API >= 23, app data is automatically backed up to Google cloud servers unless android:allowBackup="false" and android:fullBackupContent="false" is set. -->
35 android:label="@string/privacy_browser"
36 android:icon="@mipmap/privacy_browser"
37 android:theme="@style/AppTheme"
38 android:allowBackup="false"
39 android:fullBackupContent="false" >
41 <!-- android:configChanges="orientation|screenSize" makes the app not reload when the orientation changes, which preserves scroll location in the WebView. -->
42 <!-- android:launchMode="singleTask" makes the app launch in a new task instead of inside the task of the program that sends it an intent.
43 It also makes it reuse an existing Privacy Browser activity if available instead of launching a new one. -->
44 <!-- android:persistableMode="persistNever" removes Privacy Browser from the recents screen on a device reboot. -->
46 android:name=".MainWebViewActivity"
47 android:label="@string/privacy_browser"
48 android:theme="@style/AppTheme.NoActionBar"
49 android:configChanges="orientation|screenSize"
50 android:launchMode="singleTask"
51 android:persistableMode="persistNever" >
54 <action android:name="android.intent.action.MAIN" />
55 <category android:name="android.intent.category.LAUNCHER" />
58 <!-- android.intent.action.VIEW with the two data schemes enables processing of web intents. -->
60 <action android:name="android.intent.action.VIEW" />
61 <category android:name="android.intent.category.BROWSABLE" />
62 <category android:name="android.intent.category.DEFAULT" />
63 <data android:scheme="http" />
64 <data android:scheme="https" />
68 <!-- android:persistableMode="persistNever" removes Privacy Browser from the recents screen on a device reboot. -->
70 android:name=".SettingsActivity"
71 android:label="@string/privacy_browser_settings"
72 android:parentActivityName=".MainWebViewActivity"
73 android:persistableMode="persistNever" >
75 <!-- android.support.PARENT_ACTIVITY is necessary for API <= 15. -->
77 android:name="android.support.PARENT_ACTIVITY"
78 android:value=".MainWebViewActivity" />