summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-05-09 17:40:33 +0000
committerfischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-05-09 17:40:33 +0000
commitf22bfed08d3dc57df4be7fde641bd65aacd69cd4 (patch)
tree301dafce06ecc198f249f46a04ec5c0ee6ee0412
parentaf89cc361bb3c53658ee1c2f39478cd6052cda8e (diff)
downloadwebrtc-f22bfed08d3dc57df4be7fde641bd65aacd69cd4.tar.gz
Since the layout of the Android WebRTC demo application is fixed, if we start the demo application in portrait postion, the activity will be destroyed and then created again, force the demo application to start in landscape position to avoid activity re-creation.
BUG=webrtc:1741 TEST=Build and run the Android WebRTC demo application R=fischman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1439006 Patch from Jeremy Mao <yujie.mao@intel.com>. git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3994 4adac7df-926f-26a2-2b94-8c16560cd09d
-rw-r--r--video_engine/test/android/AndroidManifest.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/video_engine/test/android/AndroidManifest.xml b/video_engine/test/android/AndroidManifest.xml
index 72631ca4..2e99fdaf 100644
--- a/video_engine/test/android/AndroidManifest.xml
+++ b/video_engine/test/android/AndroidManifest.xml
@@ -7,9 +7,8 @@
<activity android:name=".WebRTCDemo"
android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation"
+ android:screenOrientation="landscape"
>
- <!--android:configChanges="keyboardHidden|orientation" -->
- <!-- android:screenOrientation="landscape" -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />