blob: 0c9bcdd53c7b6a2520133f67ba4cf05c3e370287 [file] [log] [blame]
#
# Test:
# - Inject attributes in a main manifest.
#
@inject
versionCode=101
versionName=1.0.1
minSdkVersion=10
targetSdkVersion=14
@main
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.app1"
android:versionCode="100"
android:versionName="1.0.0">
<application
android:label="@string/app_name"
android:icon="@drawable/app_icon"
android:backupAgent="com.example.app.BackupAgentClass"
android:restoreAnyVersion="true"
android:allowBackup="true"
android:killAfterRestore="true"
android:name="com.example.TheApp" >
</application>
</manifest>
@result
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.app1"
android:versionCode="101"
android:versionName="1.0.1">
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="14">
</uses-sdk>
<application
android:label="@string/app_name"
android:icon="@drawable/app_icon"
android:backupAgent="com.example.app.BackupAgentClass"
android:restoreAnyVersion="true"
android:allowBackup="true"
android:killAfterRestore="true"
android:name="com.example.TheApp" >
</application>
</manifest>
@errors