diff options
| -rw-r--r-- | AndroidManifest.xml | 22 | 
1 files changed, 9 insertions, 13 deletions
| diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 470a88d..895c146 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -6,10 +6,10 @@      	<provider android:name="HostDbProvider"      		android:authorities="org.theb.provider.HostDb"/>          <activity android:name="HostsList" android:label="@string/title_hosts_list"> - - - - +            <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.PICK" />                  <action android:name="android.intent.action.VIEW" /> @@ -38,31 +38,27 @@                       can perform when selecting this type of data. -->                  <category android:name="android.intent.category.SELECTED_ALTERNATIVE" /> -                <type android:mimeType="vnd.android.cursor.item/vnd.theb.host" /> -            </intent-filter> +                 +				<data android:mimeType="vnd.android.cursor.item/vnd.theb.host" /> +			</intent-filter>              <!-- This filter says that we can create a new note inside                   of a directory of notes. -->              <intent-filter>                  <action android:name="android.intent.action.INSERT" />                  <category android:name="android.intent.category.DEFAULT" /> -                <type android:mimeType="vnd.android.cursor.dir/vnd.theb.host" /> +                <data android:mimeType="vnd.android.cursor.dir/vnd.theb.host" />              </intent-filter>          </activity>  		<activity android:name="SecureShell" android:label="@string/title_shell">              <!-- This filter says that we can connect to a host --> -            <intent-filter> -                <action android:name="android.intent.action.MAIN" /> -                <category android:name="android.intent.category.LAUNCHER" /> -            </intent-filter> -              <intent-filter android:label="@string/resolve_connect">                  <action android:name="org.theb.ssh.action.CONNECT_HOST" />                  <action android:name="android.intent.action.PICK" />                  <!-- DEFAULT: execute if being directly invoked. -->                  <category android:name="android.intent.category.DEFAULT" /> -                <type android:mimeType="vnd.android.cursor.item/vnd.theb.host" /> +                <data android:mimeType="vnd.android.cursor.item/vnd.theb.host" />              </intent-filter>          </activity> | 
