Revision control
Copy as Markdown
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
package="org.mozilla.samples.gleancore">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
tools:ignore="ScopedStorage" />
<!-- Note: the usesCleartextTraffic is only required for making instrumentation
tests work on API 23+. Also note that this requires tools:ignore="UnusedAttribute"
for stopping the linter from complaining on API 21 <= x < 23. -->
<application
android:allowBackup="true"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:usesCleartextTraffic="true"
tools:ignore="UnusedAttribute"
android:theme="@style/Theme.AppCompat.Light.DarkActionBar"
android:name=".GleanApplication">
<activity android:name="org.mozilla.samples.gleancore.MainActivity"
android:windowSoftInputMode="adjustResize"
android:launchMode="singleTask"
android:exported="true">
<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" />
</intent-filter>
</activity>
<!--
Sample activity alias for testing.
-->
<activity-alias
android:name=".TestActivity"
android:targetActivity=".MainActivity"
android:exported="true">
</activity-alias>
<!--
Define a background service to test running Glean from off the main process
-->
<service android:name=".SampleBackgroundProcess"
android:process=":sampleBackgroundProcess" />
</application>
</manifest>