AndroidManifest.xml (2217B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 6 xmlns:tools="http://schemas.android.com/tools"> 7 8 <uses-permission android:name="android.permission.INTERNET" /> 9 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 10 <uses-permission android:name="android.permission.CAMERA" /> 11 12 <!-- This is needed because the android.permission.CAMERA above automatically 13 adds a requirements for camera hardware and we don't want add those restrictions --> 14 <uses-feature 15 android:name="android.hardware.camera" 16 android:required="false" /> 17 <uses-feature 18 android:name="android.hardware.camera.autofocus" 19 android:required="false" /> 20 21 <application 22 android:allowBackup="true" 23 android:fullBackupContent="@xml/backup_rules" 24 android:icon="@mipmap/ic_launcher" 25 android:label="@string/app_name" 26 android:supportsRtl="true" 27 android:theme="@style/Theme.AppCompat.Light.DarkActionBar" 28 android:dataExtractionRules="@xml/data_extraction_rules" 29 tools:targetApi="s"> 30 <activity 31 android:name="org.mozilla.samples.fxa.MainActivity" 32 android:launchMode="singleTask" 33 android:windowSoftInputMode="adjustResize" 34 android:exported="true"> 35 <intent-filter> 36 <action android:name="android.intent.action.MAIN" /> 37 38 <category android:name="android.intent.category.LAUNCHER" /> 39 </intent-filter> 40 <intent-filter> 41 <action android:name="android.intent.action.VIEW" /> 42 <category android:name="android.intent.category.BROWSABLE" /> 43 <category android:name="android.intent.category.DEFAULT" /> 44 <data 45 android:host="*" 46 android:scheme="fxaclient" /> 47 </intent-filter> 48 </activity> 49 </application> 50 </manifest>