From a31c8f7a79e88a856109c4e55e6a8f58a43c7bf7 Mon Sep 17 00:00:00 2001 From: Mihai Alexandru <77043862+MAJigsaw77@users.noreply.github.com> Date: Wed, 30 Oct 2024 22:10:12 +0200 Subject: [PATCH] Remove the old version. --- .../main/java/org/haxe/lime/GameActivity.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/templates/android/template/app/src/main/java/org/haxe/lime/GameActivity.java b/templates/android/template/app/src/main/java/org/haxe/lime/GameActivity.java index 3c28d7a6cb..a0434580b7 100644 --- a/templates/android/template/app/src/main/java/org/haxe/lime/GameActivity.java +++ b/templates/android/template/app/src/main/java/org/haxe/lime/GameActivity.java @@ -343,24 +343,6 @@ public static void openFile (String path) { } - public static void openURL (String url, String target) { - - Intent browserIntent = new Intent (Intent.ACTION_VIEW).setData (Uri.parse (url)); - - try { - - Extension.mainActivity.startActivity (browserIntent); - - } catch (Exception e) { - - Log.e ("GameActivity", e.toString ()); - return; - - } - - } - - public static void postUICallback (final long handle) { Extension.callbackHandler.post (new Runnable () {