forked from AOKP/packages_apps_Torch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroidManifest.xml
executable file
·46 lines (40 loc) · 1.73 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
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.aokp.Torch"
android:versionCode="100"
android:versionName="1.0.0" >
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<application
android:name=".TorchApp"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:persistent="true" >
<activity
android:name=".TorchActivity"
android:excludeFromRecents="true"
android:label="@string/app_name"
android:launchMode="singleTask"
android:noHistory="true"
android:theme="@style/Theme.Transparent"
android:windowSoftInputMode="adjustPan" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<!--
Uncomment the following intent-filter to have the app show up in the app drawer
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
-->
</activity>
<receiver android:name=".TorchReceiver" >
<intent-filter android:priority="1000" >
<action android:name="com.aokp.torch.INTENT_TORCH_ON" />
<action android:name="com.aokp.torch.INTENT_TORCH_OFF" />
<action android:name="com.aokp.torch.INTENT_TORCH_TOGGLE" />
</intent-filter>
</receiver>
</application>
</manifest>