8944c9d08b
The current AndroidManifest.xml hardcodes a Theme that is only available in Android L or later (Material). To maintain backwards compatibility, and for better App style, create a single Theme/Style and define it for different APIs. I tested this in two Nexus %, one with prerelease L and another with a KK 4.4.2 and the Theme is indeed automagically updated :) Note that this is compatible with https://webrtc-codereview.appspot.com/26979004/ R=glaznev@webrtc.org Review URL: https://webrtc-codereview.appspot.com/26019004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7619 4adac7df-926f-26a2-2b94-8c16560cd09d
50 lines
2.2 KiB
XML
50 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="org.appspot.apprtc"
|
|
android:versionCode="1"
|
|
android:versionName="1.0">
|
|
|
|
<uses-feature android:name="android.hardware.camera" />
|
|
<uses-feature android:name="android.hardware.camera.autofocus" />
|
|
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
|
|
<uses-sdk android:minSdkVersion="13" android:targetSdkVersion="21" />
|
|
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
<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.WRITE_EXTERNAL_STORAGE"/>
|
|
|
|
<application android:label="@string/app_name"
|
|
android:icon="@drawable/ic_launcher"
|
|
android:allowBackup="false">
|
|
|
|
<activity android:name="ConnectActivity"
|
|
android:label="@string/app_name">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
<category android:name="android.intent.category.BROWSABLE"/>
|
|
<data android:scheme="https" android:host="apprtc.appspot.com"/>
|
|
<data android:scheme="http" android:host="apprtc.appspot.com"/>
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity android:name="SettingsActivity"
|
|
android:label="@string/settings_name">
|
|
</activity>
|
|
|
|
<activity android:name="AppRTCDemoActivity"
|
|
android:label="@string/app_name"
|
|
android:screenOrientation="fullUser"
|
|
android:configChanges="orientation|screenSize"
|
|
android:theme="@style/AppRTCDemoActivityTheme">
|
|
</activity>
|
|
</application>
|
|
</manifest>
|