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

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

AndroidManifest.xml80 lines · 3.8 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android">
3
4 <!-- MAOS: opt out of the GrapheneOS Sensors permission (OTHER_SENSORS). -->
5 <!-- This app uses no motion/environment sensors; MAOS withholds the -->
6 <!-- Sensors permission at install instead of auto-granting it. -->
7 <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" />
8
9 <uses-permission android:name="android.permission.INTERNET" />
10 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
11
12 <permission
13 android:name="com.vayunmathur.calculator.permissions.ACCESS_CALCULATOR"
14 android:protectionLevel="signature" />
15 <!-- Key tick on the home-screen keypad widget (same EFFECT_TICK the keyboard uses). -->
16 <uses-permission android:name="android.permission.VIBRATE" />
17
18 <application
19 android:allowBackup="true"
20 android:dataExtractionRules="@xml/data_extraction_rules"
21 android:icon="@mipmap/ic_launcher"
22 android:label="@string/app_name"
23 android:roundIcon="@mipmap/ic_launcher"
24 android:supportsRtl="true"
25 android:theme="@style/Theme.General">
26 <activity
27 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
28 android:name=".MainActivity"
29 android:exported="true"
30 android:theme="@style/Theme.General">
31 <intent-filter>
32 <action android:name="android.intent.action.MAIN" />
33 <category android:name="android.intent.category.LAUNCHER" />
34 </intent-filter>
35 </activity>
36 <activity
37 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
38 android:name=".ui.CalculatorWidgetSettingsActivity"
39 android:exported="true"
40 android:label="@string/calculator_widget_label"
41 android:theme="@style/Theme.General">
42 <intent-filter>
43 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
44 </intent-filter>
45 </activity>
46 <activity
47 android:name=".intents.EvaluateIntent"
48 android:exported="true"
49 android:theme="@android:style/Theme.NoDisplay"
50 android:permission="com.vayunmathur.calculator.permissions.ACCESS_CALCULATOR" />
51 <activity
52 android:name=".intents.ConvertUnitIntent"
53 android:exported="true"
54 android:theme="@android:style/Theme.NoDisplay"
55 android:permission="com.vayunmathur.calculator.permissions.ACCESS_CALCULATOR" />
56 <receiver
57 android:name=".widget.CalculatorGlanceWidgetReceiver"
58 android:exported="false"
59 android:label="@string/calculator_widget_label">
60 <intent-filter>
61 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
62 </intent-filter>
63 <meta-data
64 android:name="android.appwidget.provider"
65 android:resource="@xml/calculator_widget_info" />
66 </receiver>
67 <receiver
68 android:name=".widget.UnitsGlanceWidgetReceiver"
69 android:exported="false"
70 android:label="@string/units_widget_label">
71 <intent-filter>
72 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
73 </intent-filter>
74 <meta-data
75 android:name="android.appwidget.provider"
76 android:resource="@xml/units_widget_info" />
77 </receiver>
78 </application>
79
80</manifest>