mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-07 03:05:18 +08:00
Changed: Rename ShareUtils openURL() to openUrl()
This commit is contained in:
@@ -92,7 +92,7 @@ public class ShareUtils {
|
||||
* @param context The context for operations.
|
||||
* @param url The url to open.
|
||||
*/
|
||||
public static void openURL(final Context context, final String url) {
|
||||
public static void openUrl(final Context context, final String url) {
|
||||
if (context == null || url == null || url.isEmpty()) return;
|
||||
Uri uri = Uri.parse(url);
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
|
||||
|
Reference in New Issue
Block a user