AndroidManifest.xml revision eaf6de42255b7dab8d5531d29fffc299b3aaddd4
<?xml version="1.0" encoding="utf-8"?>
<!--
The contents of this file are subject to the terms of the Common Development and
Distribution License (the License). You may not use this file except in compliance with the
License.
You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
specific language governing permission and limitations under the License.
When distributing Covered Software, include this CDDL Header Notice in each file and include
the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
Header, with the fields enclosed by brackets [] replaced by your own identifying
information: "Portions copyright [year] [name of copyright owner]".
Copyright 2015-2016 ForgeRock AS.
Portions Copyright 2013 Nathaniel McCallum, Red Hat
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.forgerock.authenticator"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="20" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-feature
android:name="android.hardware.camera"
android:required="false" />
<uses-feature
android:name="android.hardware.camera.autofocus"
android:required="false" />
<android:uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<android:uses-permission android:name="android.permission.READ_PHONE_STATE" />
<application
android:allowBackup="true"
android:icon="@drawable/forgerock_logo"
android:label="@string/app_name"
android:theme="@style/AppTheme">
<activity
android:name=".AboutActivity"
android:theme="@android:style/Theme.Holo.Light.Dialog.NoActionBar" />
<activity
android:name=".add.ScanActivity"
android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen" />
<activity
android:name=".add.AddActivity"
android:label="@string/add_token"
android:theme="@android:style/Theme.Holo.Light.Dialog.NoActionBar"
android:windowSoftInputMode="stateVisible" />
<activity
android:name=".edit.DeleteActivity"
android:label="@string/delete_question"
android:theme="@android:style/Theme.Holo.Light.Dialog" />
<activity
android:name=".edit.EditActivity"
android:theme="@android:style/Theme.Holo.Light.Dialog.NoActionBar"
android:windowSoftInputMode="stateVisible" />
<activity
android:name=".MainActivity"
android:clearTaskOnLaunch="true"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
android:launchMode="singleTask">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
<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:host="totp"
android:scheme="otpauth" />
<data
android:host="hotp"
android:scheme="otpauth" />
</intent-filter>
</activity>
>
<receiver
android:name="com.google.android.gms.gcm.GcmReceiver"
android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="org.forgerock.authenticator" />
</intent-filter>
</receiver>
<service
android:name=".message.GcmService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</service>
<service
android:name=".message.InstanceIdListener"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.gms.iid.InstanceID" />
</intent-filter>
</service>
<service
android:name=".message.GcmRegistrationService"
android:exported="false" />
<activity
android:name=".message.NewMessageActivity"
android:label="@string/title_activity_new_message">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
</application>
</manifest>