AndroidManifest.xml revision 1b034781f4c45608e4d57e46cd46dfab9fc64746
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3Copyright (C) 2010 The Android Open Source Project
4
5Licensed under the Apache License, Version 2.0 (the "License");
6you may not use this file except in compliance with the License.
7You may obtain a copy of the License at
8
9http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16-->
17<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.dumprendertree2">
18    <application>
19        <uses-library android:name="android.test.runner" />
20
21        <activity android:name=".ui.DirListActivity"
22                  android:label="Dump Render Tree 2"
23                  android:configChanges="orientation">
24            <intent-filter>
25                <action android:name="android.intent.action.MAIN" />
26                <category android:name="android.intent.category.LAUNCHER" />
27            </intent-filter>
28        </activity>
29
30        <!-- android:launchMode="singleTask" is there so we only have a one instance
31             of this activity. However, it doesn't seem to work exactly like described in the
32             documentation, because the behaviour of the application suggest
33             there is only a single task for all 3 activities. We don't understand
34             how exactly it all works, but at the moment it works just fine.
35             It can lead to some weird behaviour in the future. -->
36        <activity android:name=".TestsListActivity"
37                  android:label="Tests' list activity"
38                  android:launchMode="singleTask"
39                  android:configChanges="orientation">
40        </activity>
41
42        <activity android:name=".LayoutTestsExecutor"
43                  android:label="Layout tests' executor"
44                  android:process=":executor">
45        </activity>
46
47        <service android:name="ManagerService">
48        </service>
49    </application>
50
51    <instrumentation android:name="com.android.dumprendertree2.scriptsupport.ScriptTestRunner"
52                     android:targetPackage="com.android.dumprendertree2"
53                     android:label="Layout tests script runner" />
54
55    <uses-permission android:name="android.permission.INTERNET" />
56    <uses-permission android:name="android.permission.WRITE_SDCARD" />
57    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
58    <uses-permission android:name="android.permission.WAKE_LOCK" />
59</manifest>