Debian Codegraph @

build-system/manifest-merger/src/test/java/com/android/manifmerger/data2/00_noop.xml

raw
1 #
2 # Syntax:
3 # - Lines starting with # are ignored (anywhere, as long as # is the first char).
4 # - Lines before the first @delimiter are ignored.
5 # - Empty lines just after the @delimiter and before the first < XML line are ignored.
6 # - Valid delimiters are @main for the XML of the main app manifest.
7 # - Following delimiters are @libXYZ, read in the order of definition. The name can be
8 # anything as long as it starts with "@lib".
9 # - Last delimiter should be @result.
10 #
11
12 @main
13
14 <!--
15 This is a canonical manifest that has some uses-permissions,
16 the usual uses-sdk and supports-screens, an app with an activity,
17 customer receiver & service and a widget.
18 -->
19
20 <manifest
21 xmlns:android="http://schemas.android.com/apk/res/android"
22 package="com.example.app1"
23 android:versionCode="100"
24 android:versionName="1.0.0">
25
26 <supports-screens
27 android:largeScreens="true"
28 android:smallScreens="true"
29 android:normalScreens="true"
30 android:resizeable="true"
31 android:xlargeScreens="true"
32 />
33
34 <!-- Typical analytics permissions. -->
35 <uses-permission android:name="android.permission.INTERNET" />
36 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
37
38 <!-- Touchscreen feature, optional to make sure we can run on devices with no touch screen. -->
39 <uses-feature
40 android:name="android.hardware.touchscreen"
41 android:required="false" />
42
43 <application
44 android:label="@string/app_name"
45 android:icon="@drawable/app_icon"
46 android:backupAgent="com.example.app.BackupAgentClass"
47 android:restoreAnyVersion="true"
48 android:allowBackup="true"
49 android:killAfterRestore="true"
50 android:name="com.example.TheApp" >
51
52 <activity
53 android:name="com.example.MainActivity"
54 android:label="@string/activity_name"
55 android:icon="@drawable/activity_icon"
56 android:theme="@style/Some.Theme">
57 <intent-filter>
58 <action android:name="android.intent.action.MAIN" />
59 <category android:name="android.intent.category.LAUNCHER" />
60 </intent-filter>
61 </activity>
62
63 <!-- Receiver -->
64 <receiver
65 android:name="com.example.AppReceiver"
66 android:icon="@drawable/app_icon">
67 <intent-filter>
68 <action android:name="com.example.action.ACTION_CUSTOM" />
69 </intent-filter>
70 </receiver>
71
72 <!-- Broadcast Receiver for a widget. -->
73 <receiver
74 android:label="@string/widget_name"
75 android:icon="@drawable/widget_icon"
76 android:name="com.example.WidgetReceiver" >
77 <intent-filter>
78 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
79 </intent-filter>
80 <meta-data
81 android:name="android.appwidget.provider"
82 android:resource="@xml/widget_provider"
83 />
84 </receiver>
85
86 <service
87 android:icon="@drawable/app_icon"
88 android:name="com.example.AppService" />
89
90 <!-- Activity to configure widget -->
91 <activity
92 android:icon="@drawable/widget_icon"
93 android:label="Configure Widget"
94 android:name="com.example.WidgetConfigurationUI"
95 android:theme="@style/Theme.WidgetConfigurationUI" >
96 <intent-filter >
97 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
98 </intent-filter>
99 </activity>
100
101 <!-- Provider extracted from ApiDemos -->
102 <provider android:name=".app.LoaderThrottle$SimpleProvider"
103 android:authorities="com.example.android.apis.app.LoaderThrottle"
104 android:enabled="@bool/atLeastHoneycomb" />
105
106 </application>
107
108 </manifest>
109
110 @lib1
111
112 <manifest
113 xmlns:android="http://schemas.android.com/apk/res/android"
114 package="com.example.lib1">
115
116 </manifest>
117
118
119 @result
120
121 <!--
122 This is a canonical manifest that has some uses-permissions,
123 the usual uses-sdk and supports-screens, an app with an activity,
124 customer receiver & service and a widget.
125 -->
126
127 <manifest
128 xmlns:android="http://schemas.android.com/apk/res/android"
129 package="com.example.app1"
130 android:versionCode="100"
131 android:versionName="1.0.0">
132
133 <supports-screens
134 android:largeScreens="true"
135 android:smallScreens="true"
136 android:normalScreens="true"
137 android:resizeable="true"
138 android:xlargeScreens="true"
139 />
140
141 <!-- Typical analytics permissions. -->
142 <uses-permission android:name="android.permission.INTERNET" />
143 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
144
145 <!-- Touchscreen feature, optional to make sure we can run on devices with no touch screen. -->
146 <uses-feature
147 android:name="android.hardware.touchscreen"
148 android:required="false" />
149
150 <application
151 android:label="@string/app_name"
152 android:icon="@drawable/app_icon"
153 android:backupAgent="com.example.app.BackupAgentClass"
154 android:restoreAnyVersion="true"
155 android:allowBackup="true"
156 android:killAfterRestore="true"
157 android:name="com.example.TheApp" >
158
159 <activity
160 android:name="com.example.MainActivity"
161 android:label="@string/activity_name"
162 android:icon="@drawable/activity_icon"
163 android:theme="@style/Some.Theme">
164 <intent-filter>
165 <action android:name="android.intent.action.MAIN" />
166 <category android:name="android.intent.category.LAUNCHER" />
167 </intent-filter>
168 </activity>
169
170 <!-- Receiver -->
171 <receiver
172 android:name="com.example.AppReceiver"
173 android:icon="@drawable/app_icon">
174 <intent-filter>
175 <action android:name="com.example.action.ACTION_CUSTOM" />
176 </intent-filter>
177 </receiver>
178
179 <!-- Broadcast Receiver for a widget. -->
180 <receiver
181 android:label="@string/widget_name"
182 android:icon="@drawable/widget_icon"
183 android:name="com.example.WidgetReceiver" >
184 <intent-filter>
185 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
186 </intent-filter>
187 <meta-data
188 android:name="android.appwidget.provider"
189 android:resource="@xml/widget_provider"
190 />
191 </receiver>
192
193 <service
194 android:icon="@drawable/app_icon"
195 android:name="com.example.AppService" />
196
197 <!-- Activity to configure widget -->
198 <activity
199 android:icon="@drawable/widget_icon"
200 android:label="Configure Widget"
201 android:name="com.example.WidgetConfigurationUI"
202 android:theme="@style/Theme.WidgetConfigurationUI" >
203 <intent-filter >
204 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
205 </intent-filter>
206 </activity>
207
208 <!-- Provider extracted from ApiDemos -->
209 <provider
210 android:name="com.example.app1.app.LoaderThrottle$SimpleProvider"
211 android:authorities="com.example.android.apis.app.LoaderThrottle"
212 android:enabled="@bool/atLeastHoneycomb" />
213
214 </application>
215
216 </manifest>