Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
translate ▾

Modern-Apps.git / pdf / src / main / AndroidManifest.xml

AndroidManifest.xml47 lines · 2.3 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:tools="http://schemas.android.com/tools">
4
5 <!-- Offline app (#884): androidx.media3 merges in ACCESS_NETWORK_STATE, which nothing here uses. -->
6 <!-- MAOS: opt out of the GrapheneOS Sensors permission (OTHER_SENSORS). -->
7 <!-- This app uses no motion/environment sensors; MAOS withholds the -->
8 <!-- Sensors permission at install instead of auto-granting it. -->
9 <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" />
10
11 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" tools:node="remove" />
12
13 <uses-permission android:name="android.permission.CAMERA" />
14 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
15 <uses-feature android:name="android.hardware.camera" android:required="false" />
16
17 <application
18 android:allowBackup="true"
19 android:dataExtractionRules="@xml/data_extraction_rules"
20 android:icon="@mipmap/ic_launcher"
21 android:label="@string/app_name"
22 android:roundIcon="@mipmap/ic_launcher"
23 android:supportsRtl="true"
24 android:theme="@style/Theme.General">
25 <activity
26 android:name=".MainActivity"
27 android:exported="true"
28 android:theme="@style/Theme.General"
29 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
30 android:documentLaunchMode="intoExisting">
31 <intent-filter>
32 <action android:name="android.intent.action.MAIN" />
33 <category android:name="android.intent.category.LAUNCHER" />
34 </intent-filter>
35
36 <intent-filter>
37 <action android:name="android.intent.action.VIEW" />
38 <category android:name="android.intent.category.DEFAULT" />
39 <category android:name="android.intent.category.BROWSABLE" />
40 <data android:mimeType="application/pdf" />
41 <data android:scheme="content" />
42 <data android:scheme="file" />
43 </intent-filter>
44 </activity>
45 </application>
46
47</manifest>