test-server/AndroidManifest.xml in calabash-android-0.5.9.pre1 vs test-server/AndroidManifest.xml in calabash-android-0.5.9.pre2.intenthook1
- old
+ new
@@ -1,11 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="#testPackage#"
android:versionCode="3"
android:versionName="0.3.0">
- <application android:label="instrumentation_backend">
+ <application android:label="instrumentation_backend"
+ android:largeHeap="true">
+
<uses-library android:name="android.test.runner" />
<uses-library android:name="com.google.android.maps" android:required="false" />
<activity
android:name="sh.calaba.instrumentationbackend.WakeUp"
android:label="WakeUp"
@@ -13,12 +15,22 @@
android:launchMode="singleInstance"
android:finishOnTaskLaunch="true"
android:stateNotNeeded="true"
android:noHistory="false"
android:excludeFromRecents="true"/>
+ <activity
+ android:name="sh.calaba.instrumentationbackend.FakeCameraActivity"
+ android:label="FakeCameraActivity"
+ android:exported="true"
+ android:finishOnTaskLaunch="true"
+ android:stateNotNeeded="true"
+ android:noHistory="true"
+ android:excludeFromRecents="true"
+ android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/>
</application>
- <uses-sdk android:minSdkVersion="4" />
+ <uses-sdk android:minSdkVersion="4"
+ android:targetSdkVersion="21"/>
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner" />
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.ClearAppData" />
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.ClearPreferences" />
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.SetPreferences" />
<instrumentation android:targetPackage="#targetPackage#" android:name="sh.calaba.instrumentationbackend.GetPreferences" />
@@ -26,7 +38,8 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.INTERNET" />
+ <uses-permission android:name="android.permission.CAMERA" />
</manifest>