]> gitweb.stoutner.com Git - PrivacyCell.git/blob - app/src/main/AndroidManifest.xml
ab618bbf089a6952ca61a164b415aee2428b4a9f
[PrivacyCell.git] / app / src / main / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright © 2021 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Cell <https://www.stoutner.com/privacy-cell>.
7
8   Privacy Cell 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.
12
13   Privacy Cell 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.
17
18   You should have received a copy of the GNU General Public License
19   along with Privacy Cell.  If not, see <http://www.gnu.org/licenses/>. -->
20
21 <!-- Install location `auto` allows users to move Privacy Cell to an SD card if desired. -->
22 <manifest
23     xmlns:android="http://schemas.android.com/apk/res/android"
24     package="com.stoutner.privacycell"
25     android:installLocation="auto" >
26
27     <!-- Required to read cell network information. -->
28     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
29
30     <!-- Support Chromebooks that don't have a touch screen. -->
31     <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
32
33     <!-- App data is automatically backed up to Google cloud servers unless `android:allowBackup="false"` and `android:fullBackupContent="false"` is set. -->
34     <application
35         android:label="@string/privacy_cell"
36         android:icon="@mipmap/privacy_cell"
37         android:allowBackup="false"
38         android:fullBackupContent="false"
39         android:supportsRtl="true"
40         android:theme="@style/Theme.PrivacyCell" >
41
42         <!-- The label uses the short name so that it isn't truncated under the icon in the launcher on most phones.
43             `android:launchMode="singleTask"` makes the app launch in a new task instead of inside the task of the program that sends it an intent.
44             It also makes it reuse an existing Privacy Cell activity if available instead of launching a new one. -->
45         <activity
46             android:name=".activities.PrivacyCell"
47             android:label="@string/cell"
48             android:launchMode="singleTask"
49             android:screenOrientation="fullUser"
50             android:exported="true" >
51
52             <intent-filter>
53                 <action android:name="android.intent.action.MAIN" />
54                 <category android:name="android.intent.category.LAUNCHER" />
55             </intent-filter>
56         </activity>
57     </application>
58 </manifest>