Browse Source

[Android] Require OpenGL ES 2.0

This was already an implicit requirement, as it's the only version implemented
in libwebrtc.

The reason to add this is to (defensively) try to filter old devices which may
not implement it.

WebRTC's own Android demo app defines this.
master
Saúl Ibarra Corretgé 8 years ago
parent
commit
4efbbe14b1
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      android/sdk/src/main/AndroidManifest.xml

+ 3
- 0
android/sdk/src/main/AndroidManifest.xml View File

@@ -12,6 +12,9 @@
12 12
     <uses-feature android:name="android.hardware.camera" />
13 13
     <uses-feature android:name="android.hardware.camera.autofocus"/>
14 14
 
15
+    <!-- Tell the system this app requires OpenGL ES 2.0. -->
16
+    <uses-feature android:glEsVersion="0x00020000" android:required="true" />
17
+
15 18
     <application android:allowBackup="true"
16 19
                  android:label="@string/app_name"
17 20
                  android:supportsRtl="true">

Loading…
Cancel
Save