diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2012-03-18 21:10:51 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2012-03-19 19:05:24 +0100 |
| commit | 7212666e3ca6f7f84e3a00388fd221ad59073dd2 (patch) | |
| tree | 87f693f8072e60d63ea30b439b1a28f51023e817 | |
| parent | 3bfb514f808ad89460d1fe7736e78c14f9cc6454 (diff) | |
| download | cgeo-7212666e3ca6f7f84e3a00388fd221ad59073dd2.zip cgeo-7212666e3ca6f7f84e3a00388fd221ad59073dd2.tar.gz cgeo-7212666e3ca6f7f84e3a00388fd221ad59073dd2.tar.bz2 | |
Remove useless intent filters for in-application activities
As stated in the Android documentation, "an explicit intent is always
delivered to its target, no matter what it contains; the filter is not
consulted".
There are no advantage in letting those filters in, as they cannot
match since they lack a category filter, and every implicit filter
have at least one category.
| -rw-r--r-- | main/AndroidManifest.xml | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/main/AndroidManifest.xml b/main/AndroidManifest.xml index a64b54a..ff9ddeb 100644 --- a/main/AndroidManifest.xml +++ b/main/AndroidManifest.xml @@ -49,9 +49,6 @@ <intent-filter> <action android:name="android.intent.action.SEARCH"/> </intent-filter> - <intent-filter> - <action android:name="cgeo.geocaching.CGEOADVSEARCH"/> - </intent-filter> <meta-data android:name="android.app.searchable" android:resource="@xml/searchable" /> @@ -62,89 +59,59 @@ android:theme="@style/cgeo_transparent" android:windowSoftInputMode="stateHidden" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOPOPUP"/> - </intent-filter> </activity> <activity android:name=".cgeoabout" android:label="@string/app_name" android:windowSoftInputMode="stateHidden" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOABOUT"/> - </intent-filter> </activity> <activity android:name=".UsefulAppsActivity" android:label="@string/app_name" android:windowSoftInputMode="stateHidden" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOHELPERS"/> - </intent-filter> </activity> <activity android:name=".twitter.TwitterAuthorizationActivity" android:label="@string/app_name" android:windowSoftInputMode="stateHidden" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOAUTH"/> - </intent-filter> </activity> <activity android:name=".cgeowaypointadd" android:label="@string/app_name" android:windowSoftInputMode="stateHidden" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOWAYPOINTADD"/> - </intent-filter> </activity> <activity android:name=".cgeowaypoint" android:label="@string/app_name" android:windowSoftInputMode="stateHidden" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOWAYPOINT"/> - </intent-filter> </activity> <activity android:name=".cgeopoint" android:label="@string/app_name" android:windowSoftInputMode="stateHidden" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOPOINT"/> - </intent-filter> </activity> <activity android:name=".AdressListActivity" android:label="@string/app_name" android:windowSoftInputMode="stateHidden" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOADDRESSES"/> - </intent-filter> </activity> <activity android:name=".cgeoinit" android:label="@string/app_name" android:windowSoftInputMode="stateHidden" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOINIT"/> - </intent-filter> </activity> <activity android:name=".cgeocaches" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOCACHES"/> - </intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> @@ -164,66 +131,42 @@ android:name=".maps.google.GoogleMapActivity" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOMAP"/> - </intent-filter> </activity> <activity android:name=".maps.mapsforge.MapsforgeMapActivity" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOMAP"/> - </intent-filter> </activity> <activity android:name=".StaticMapsActivity" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOSMAPS"/> - </intent-filter> </activity> <activity android:name=".cgeologs" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOLOGS"/> - </intent-filter> </activity> <activity android:name=".VisitCacheActivity" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOVISIT"/> - </intent-filter> </activity> <activity android:name=".cgeotouch" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOTOUCH"/> - </intent-filter> </activity> <activity android:name=".cgeoimages" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOSPOILERS"/> - </intent-filter> </activity> <activity android:name=".CacheDetailActivity" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation" > <intent-filter> - <action android:name="cgeo.geocaching.CGEODETAIL"/> - </intent-filter> - <intent-filter> <action android:name="wikitudeapi.arcallback" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> @@ -251,9 +194,6 @@ android:label="@string/app_name" android:configChanges="keyboardHidden|orientation" > <intent-filter> - <action android:name="cgeo.geocaching.CGEOTRACKABLE"/> - </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" /> @@ -276,25 +216,16 @@ android:name=".cgeonavigate" android:label="@string/app_name_compass" android:screenOrientation="nosensor" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEONAVIGATE" /> - </intent-filter> </activity> <activity android:name=".cgeogpxes" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOGPXES"/> - </intent-filter> </activity> <activity android:name=".cgSelectMapfile" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation" > - <intent-filter> - <action android:name="cgeo.geocaching.CGEOSELMAP"/> - </intent-filter> </activity> <provider android:name="cgeo.geocaching.apps.LocusDataStorageProvider" android:authorities="cgeo.geocaching.apps.locusdatastorageprovider" /> |
