(required bumping minSdkVersion to 14) This fixes a RuntimeException thrown on GalaxyNexus (but not N7, N4, or NS) during startPreview() after the sequence of Start(), Stop(), Start(); seemingly GN's OMX stack can't deal with parallel startPreview() & setPreviewDisplay() in this situation. Also: - Only set the surface in the camera when valid - Remove duplicate assignment - Fix error check on voiceChannel allocation to account for multiple channel creation due to orientation change causing onDestroy()/onCreate() on the app, and rampant use of process-static holders for VoE data. BUG=1537 Review URL: https://webrtc-codereview.appspot.com/1259005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3731 4adac7df-926f-26a2-2b94-8c16560cd09d
31 lines
1.6 KiB
XML
31 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:versionCode="1" package="org.webrtc.videoengineapp" android:versionName="1.07">
|
|
<application android:icon="@drawable/logo"
|
|
android:label="@string/app_name"
|
|
android:debuggable="true">
|
|
<activity android:name=".WebRTCDemo"
|
|
android:label="@string/app_name"
|
|
android:configChanges="keyboardHidden|orientation"
|
|
>
|
|
<!--android:configChanges="keyboardHidden|orientation" -->
|
|
<!-- android:screenOrientation="landscape" -->
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
<action android:name="android.intent.action.HEADSET_PLUG"/>
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
|
|
<uses-sdk android:minSdkVersion="14" />
|
|
<uses-permission android:name="android.permission.CAMERA"></uses-permission>
|
|
<uses-feature android:name="android.hardware.camera" />
|
|
<uses-feature android:name="android.hardware.camera.autofocus" />
|
|
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
|
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
|
</manifest>
|