Make Tags headless to handle vcards and raw text.
Change-Id: Ie9dbf5e895c2d349fbce0120d4d07daa33610cc6
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index ecc63e3..33a9e8c 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -35,12 +35,7 @@
<activity android:name="TagBrowserActivity"
android:theme="@android:style/Theme.NoTitleBar"
android:screenOrientation="portrait"
- >
- <intent-filter>
- <action android:name="android.intent.action.MAIN"/>
- <category android:name="android.intent.category.LAUNCHER"/>
- </intent-filter>
- </activity>
+ />
<activity android:name="TagList" />
@@ -52,13 +47,8 @@
<activity android:name="TagViewer"
android:theme="@android:style/Theme.NoTitleBar"
android:launchMode="singleTop"
+ android:priority="-10"
>
- <!-- Catch the generic intent so we can display something for unknown tags -->
- <intent-filter>
- <action android:name="android.nfc.action.TAG_DISCOVERED"/>
- <category android:name="android.intent.category.DEFAULT"/>
- </intent-filter>
-
<!-- Offer to display anything with NDEF data -->
<intent-filter>
<action android:name="android.nfc.action.TECH_DISCOVERED"/>