| 1 |
# |
| 2 |
# Tests for removeAll node operation type. all activities nodes |
| 3 |
# should be deleted. |
| 4 |
# |
| 5 |
|
| 6 |
@main |
| 7 |
|
| 8 |
<?xml version="1.0" encoding="utf-8"?> |
| 9 |
<!-- |
| 10 |
~ Copyright (C) 2014 The Android Open Source Project |
| 11 |
~ |
| 12 |
~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 13 |
~ you may not use this file except in compliance with the License. |
| 14 |
~ You may obtain a copy of the License at |
| 15 |
~ |
| 16 |
~ http://www.apache.org/licenses/LICENSE-2.0 |
| 17 |
~ |
| 18 |
~ Unless required by applicable law or agreed to in writing, software |
| 19 |
~ distributed under the License is distributed on an "AS IS" BASIS, |
| 20 |
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 21 |
~ See the License for the specific language governing permissions and |
| 22 |
~ limitations under the License. |
| 23 |
--> |
| 24 |
|
| 25 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 26 |
xmlns:tools="http://schemas.android.com/tools" |
| 27 |
package="com.example.app1" |
| 28 |
android:versionCode="100" |
| 29 |
android:versionName="1.0.0"> |
| 30 |
|
| 31 |
<application |
| 32 |
android:name="TheApp" |
| 33 |
android:backupAgent=".MyBackupAgent" > |
| 34 |
<activity |
| 35 |
tools:node="removeAll"/> |
| 36 |
</application> |
| 37 |
|
| 38 |
</manifest> |
| 39 |
|
| 40 |
@lib1 |
| 41 |
|
| 42 |
<manifest |
| 43 |
xmlns:android="http://schemas.android.com/apk/res/android" |
| 44 |
package="com.example.app1"> |
| 45 |
|
| 46 |
<application android:name="TheApp" > |
| 47 |
<!-- Activity to configure widget --> |
| 48 |
<activity |
| 49 |
android:icon="@drawable/widget_icon" |
| 50 |
android:label="Configure Widget" |
| 51 |
android:name="com.example.lib1.WidgetConfigurationUI" |
| 52 |
android:theme="@style/Theme.WidgetConfigurationUI" > |
| 53 |
<intent-filter > |
| 54 |
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> |
| 55 |
</intent-filter> |
| 56 |
</activity> |
| 57 |
</application> |
| 58 |
|
| 59 |
</manifest> |
| 60 |
|
| 61 |
@lib2 |
| 62 |
|
| 63 |
<manifest |
| 64 |
xmlns:android="http://schemas.android.com/apk/res/android" |
| 65 |
package="com.example.app1"> |
| 66 |
|
| 67 |
<application android:name="TheApp" > |
| 68 |
<!-- Activity to configure widget --> |
| 69 |
<activity |
| 70 |
android:icon="@drawable/widget_icon" |
| 71 |
android:label="Configure Widget" |
| 72 |
android:name="com.example.lib2.WidgetConfigurationUI" |
| 73 |
android:theme="@style/Theme.WidgetConfigurationUI" > |
| 74 |
<intent-filter > |
| 75 |
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> |
| 76 |
</intent-filter> |
| 77 |
</activity> |
| 78 |
</application> |
| 79 |
|
| 80 |
</manifest> |
| 81 |
|
| 82 |
@result |
| 83 |
|
| 84 |
<?xml version="1.0" encoding="utf-8"?> |
| 85 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 86 |
package="com.example.app1" |
| 87 |
android:versionCode="100" |
| 88 |
android:versionName="1.0.0"> |
| 89 |
|
| 90 |
<application |
| 91 |
android:name="TheApp" |
| 92 |
android:backupAgent=".MyBackupAgent" > |
| 93 |
</application> |
| 94 |
|
| 95 |
</manifest> |
| 96 |
|
| 97 |
|
| 98 |
@errors |