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
multiple additions and fixes for the Java APIs
Stuff needed for WhatsApp support
This commit is contained in:
8
src/api-impl/android/webkit/URLUtil.java
Normal file
8
src/api-impl/android/webkit/URLUtil.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package android.webkit;
|
||||
|
||||
public class URLUtil {
|
||||
|
||||
public static String guessFileName(String url, String contentDisposition, String mimeType) {
|
||||
return url.substring(url.lastIndexOf('/') + 1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user