AndroidManifest.xml (2054B)
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.WRITE_EXTERNAL_STORAGE" 11 android:maxSdkVersion="28" /> 12 13 <!-- Note: the usesCleartextTraffic is only required for making instrumentation 14 tests work on API 23+. Also note that this requires tools:ignore="UnusedAttribute" 15 for stopping the linter from complaining on API 21 <= x < 23. --> 16 <application 17 android:allowBackup="true" 18 android:fullBackupContent="@xml/backup_rules" 19 android:icon="@mipmap/ic_launcher" 20 android:label="@string/app_name" 21 android:supportsRtl="true" 22 android:theme="@style/Theme.AppCompat.Light.DarkActionBar" 23 android:usesCleartextTraffic="true" 24 tools:ignore="DataExtractionRules,UnusedAttribute" 25 android:name=".GleanApplication" 26 android:dataExtractionRules="@xml/data_extraction_rules"> 27 <activity android:name="org.mozilla.samples.glean.MainActivity" 28 android:windowSoftInputMode="adjustResize" 29 android:launchMode="singleTask" 30 android:exported="true"> 31 <intent-filter> 32 <action android:name="android.intent.action.MAIN" /> 33 34 <category android:name="android.intent.category.LAUNCHER" /> 35 </intent-filter> 36 <intent-filter> 37 <action android:name="android.intent.action.VIEW" /> 38 <category android:name="android.intent.category.DEFAULT" /> 39 </intent-filter> 40 </activity> 41 </application> 42 </manifest>