OSDN Git Service

v1030
[android-x86/external-koush-Superuser.git] / Superuser / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3     package="com.koushikdutta.superuser"
4     android:versionCode="1030"
5     android:versionName="1.0.3.0" >
6
7     <uses-sdk
8         android:minSdkVersion="8"
9         android:targetSdkVersion="19" />
10
11     <permission
12         android:name="android.permission.REQUEST_SUPERUSER"
13         android:protectionLevel="signature" />
14     <permission
15         android:name="android.permission.REPORT_SUPERUSER"
16         android:protectionLevel="signature" />
17
18     <permission-group
19         android:name="android.permission-group.SUPERUSER"
20         android:description="@string/superuser_description_more"
21         android:icon="@drawable/ic_action_permission"
22         android:label="@string/superuser"
23         android:priority="10000" />
24
25     <permission
26         android:name="android.permission.ACCESS_SUPERUSER"
27         android:description="@string/superuser_description_more"
28         android:icon="@drawable/ic_action_permission"
29         android:label="@string/superuser_description"
30         android:logo="@drawable/ic_action_permission"
31         android:permissionGroup="android.permission-group.SUPERUSER"
32         android:protectionLevel="dangerous" />
33
34     <uses-permission android:name="android.permission.ACCESS_SUPERUSER" />
35     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
36
37     <application
38         android:name=".SuApplication"
39         android:allowBackup="false"
40         android:allowClearUserData="false"
41         android:icon="@drawable/ic_launcher"
42         android:label="@string/superuser"
43         android:theme="@style/Superuser" >
44         <activity
45             android:theme="@style/SuperuserActivity"
46             android:name=".MainActivity"
47             android:label="@string/superuser" >
48             <intent-filter>
49                 <action android:name="android.intent.action.MAIN" />
50
51                 <category android:name="android.intent.category.LAUNCHER" />
52             </intent-filter>
53         </activity>
54         <!-- Only system/su can open this activity -->
55         <!-- This activity will then call the MultitaskSuRequestActivity to create a new task stack -->
56         <activity
57             android:name=".RequestActivity"
58             android:configChanges="keyboardHidden|orientation|screenSize"
59             android:excludeFromRecents="true"
60             android:label="@string/superuser"
61             android:launchMode="singleTask"
62             android:permission="android.permission.REQUEST_SUPERUSER"
63             android:process=":superuser"
64             android:taskAffinity="internal.superuser"
65             android:theme="@style/RequestTheme" />
66         <!-- Only system/su can open this activity -->
67         <!-- This is activity is started in multiuser mode when the user invoking su -->
68         <!-- is not the device owner (user id 0). -->
69         <activity
70             android:name=".NotifyActivity"
71             android:configChanges="keyboardHidden|orientation|screenSize"
72             android:excludeFromRecents="true"
73             android:label="@string/superuser"
74             android:launchMode="singleTask"
75             android:permission="android.permission.REQUEST_SUPERUSER"
76             android:process=":superuser"
77             android:taskAffinity="internal.superuser"
78             android:theme="@style/RequestTheme" />
79
80         <!-- Multiple instances of this activity can be running for multiple su requests -->
81         <activity
82             android:name=".MultitaskSuRequestActivity"
83             android:configChanges="keyboardHidden|orientation|screenSize"
84             android:excludeFromRecents="true"
85             android:exported="false"
86             android:label="@string/request"
87             android:process=":superuser"
88             android:taskAffinity="internal.superuser"
89             android:theme="@style/RequestTheme" />
90
91         <receiver
92             android:name=".SuReceiver"
93             android:permission="android.permission.REPORT_SUPERUSER" />
94         <receiver android:name=".SuCheckerReceiver" >
95             <intent-filter>
96                 <action android:name="android.intent.action.BOOT_COMPLETED" />
97             </intent-filter>
98         </receiver>
99         
100         <receiver android:name=".PackageChangeReceiver" >
101             <intent-filter>
102                 <action android:name="android.intent.action.PACKAGE_ADDED" />
103                 <data android:scheme="package" />
104             </intent-filter>
105             <intent-filter>
106                 <action android:name="android.intent.action.BOOT_COMPLETED" />
107                 <data android:scheme="package" />
108             </intent-filter>
109             <intent-filter>
110                 <action android:name="android.intent.action.PACKAGE_REMOVED" />
111                 <data android:scheme="package" />
112             </intent-filter>
113         </receiver>
114         
115     </application>
116
117 </manifest>