You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl: misc stubs and fixes for Spotify II
This commit is contained in:
@@ -8,4 +8,13 @@ public class URLUtil {
|
||||
filename = filename.substring(0, filename.indexOf('?'));
|
||||
return filename;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return {@code true} if the url is an https: url.
|
||||
*/
|
||||
public static boolean isHttpsUrl(String url) {
|
||||
return (null != url)
|
||||
&& (url.length() > 7)
|
||||
&& url.substring(0, 8).equalsIgnoreCase("https://");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user