aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-09-24 17:23:21 +0100
committerStruan Donald <struan@exo.org.uk>2013-09-24 17:23:21 +0100
commit1cdb9a77ce4d7d8fe517cf305fa4928dd6dc6f60 (patch)
tree7844745019bb375d27e3c62ab41c678baa16b0ac
parentdc17aa4c0e22cf7af2564c978ec2d19559c2d66d (diff)
Update android manifest in line with phonegap recommendations
Mostly to prevent restarts on returning from the camera
-rw-r--r--Android/AndroidManifest.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/Android/AndroidManifest.xml b/Android/AndroidManifest.xml
index 815702f..9628383 100644
--- a/Android/AndroidManifest.xml
+++ b/Android/AndroidManifest.xml
@@ -29,10 +29,11 @@
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:allowBackup="true">
+ <uses-feature android:name="android.hardware.camera" android:required="false"/>
<activity
android:name=".AndroidActivity"
android:label="@string/title_activity_main"
- android:screenOrientation="portrait">
+ android:screenOrientation="portrait" android:configChanges="locale|keyboard|keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />