forked from CyanogenMod/android_packages_apps_Calculator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
AndroidManifest.xml
93 lines (87 loc) · 4.08 KB
/
AndroidManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.literacyapp.calculator"
android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.VIBRATE" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher_calculator"
android:label="@string/app_name">
<uses-library
android:name="com.sec.android.app.multiwindow"
android:required="false" />
<meta-data
android:name="com.sec.android.support.multiwindow"
android:value="true" />
<meta-data
android:name="com.sec.android.multiwindow.DEFAULT_SIZE_W"
android:resource="@dimen/app_defaultsize_w" />
<meta-data
android:name="com.sec.android.multiwindow.DEFAULT_SIZE_H"
android:resource="@dimen/app_defaultsize_h" />
<meta-data
android:name="com.sec.android.multiwindow.MINIMUM_SIZE_W"
android:resource="@dimen/app_minimumsize_w" />
<meta-data
android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H"
android:resource="@dimen/app_minimumsize_h" />
<activity
android:name="com.android.calculator2.Calculator"
android:exported="true"
android:theme="@style/Theme.Calculator"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.APP_CALCULATOR" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
</activity>
<!-- Receiver for the widget -->
<receiver android:name="com.android.calculator2.widget.CalculatorWidget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/calculator_widget_info" />
</receiver>
<!-- Activities and services for floating calc -->
<activity
android:name="com.xlythe.floatingview.FloatingActivity"
android:clearTaskOnLaunch="true"
android:excludeFromRecents="true"
android:finishOnTaskLaunch="true"
android:label="@string/app_name"
android:launchMode="singleInstance"
android:noHistory="true"
android:theme="@style/TransparentBackground" />
<activity
android:name="com.android.calculator2.floating.FloatingCalculatorCreateShortCutActivity"
android:icon="@drawable/ic_launcher_floating"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.CREATE_SHORTCUT" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="com.android.calculator2.floating.FloatingCalculatorOpenShortCutActivity"
android:clearTaskOnLaunch="true"
android:excludeFromRecents="true"
android:exported="true"
android:finishOnTaskLaunch="true"
android:label="@string/app_name"
android:launchMode="singleInstance"
android:noHistory="false"
android:theme="@style/TransparentBackground" />
<service android:name=".floating.FloatingCalculator">
<intent-filter>
<action android:name="android.intent.action.CONFIGURATION_CHANGED" />
</intent-filter>
</service>
</application>
</manifest>