Permalink
Browse files

+ urlcorta.es intent filter was wrong.

+ tinyurl.com support.
  • Loading branch information...
1 parent 79afd8f commit 96233a351d74d82b94ff0a067a67518f9c5ac887 @skarcha committed Feb 15, 2011
Showing with 3 additions and 1 deletion.
  1. +2 −1 AndroidManifest.xml
  2. +1 −0 src/com/skarcha/nobrowser/Main.java
View
@@ -30,7 +30,8 @@
<data android:host="is.gd" android:scheme="http"></data>
<data android:host="kcy.me" android:scheme="http"></data>
<data android:host="t.co" android:scheme="http"></data>
- <data android:host="u" android:scheme="http"></data>
+ <data android:host="tinyurl.com" android:scheme="http"></data>
+ <data android:host="urlcorta.es" android:scheme="http"></data>
<data android:host="youtu.be" android:scheme="http"></data>
</intent-filter>
</activity>
@@ -169,6 +169,7 @@ private boolean isShortener (String url) {
url.startsWith("http://is.gd") ||
url.startsWith("http://kcy.me") ||
url.startsWith("http://t.co") ||
+ url.startsWith("http://tinyurl.com") ||
url.startsWith("http://urlcorta.es") ||
url.startsWith("http://youtu.be"))
{

0 comments on commit 96233a3

Please sign in to comment.