From 97a044f6d010c5daf03b8594672304218b6801e4 Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Thu, 14 Nov 2024 08:19:19 -0500 Subject: [PATCH] Fix android logger Godot references to Redot --- .../org/godotengine/godot/GodotDownloaderAlarmReceiver.java | 4 ++-- .../src/org/godotengine/godot/GodotDownloaderService.java | 4 ++-- .../lib/src/org/godotengine/godot/utils/GodotNetUtils.java | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/platform/android/java/lib/src/org/godotengine/godot/GodotDownloaderAlarmReceiver.java b/platform/android/java/lib/src/org/godotengine/godot/GodotDownloaderAlarmReceiver.java index 742b1dce4ee..748fb517499 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/GodotDownloaderAlarmReceiver.java +++ b/platform/android/java/lib/src/org/godotengine/godot/GodotDownloaderAlarmReceiver.java @@ -50,12 +50,12 @@ public class GodotDownloaderAlarmReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { - Log.d("GODOT", "Alarma recivida"); + Log.d("REDOT", "Alarma recivida"); try { DownloaderClientMarshaller.startDownloadServiceIfRequired(context, intent, GodotDownloaderService.class); } catch (NameNotFoundException e) { e.printStackTrace(); - Log.d("GODOT", "Exception: " + e.getClass().getName() + ":" + e.getMessage()); + Log.d("REDOT", "Exception: " + e.getClass().getName() + ":" + e.getMessage()); } } } diff --git a/platform/android/java/lib/src/org/godotengine/godot/GodotDownloaderService.java b/platform/android/java/lib/src/org/godotengine/godot/GodotDownloaderService.java index bd8edeb3d0d..357c758de1b 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/GodotDownloaderService.java +++ b/platform/android/java/lib/src/org/godotengine/godot/GodotDownloaderService.java @@ -58,7 +58,7 @@ public class GodotDownloaderService extends DownloaderService { @Override public String getPublicKey() { SharedPreferences prefs = getApplicationContext().getSharedPreferences("app_data_keys", Context.MODE_PRIVATE); - Log.d("GODOT", "getting public key:" + prefs.getString("store_public_key", null)); + Log.d("REDOT", "getting public key:" + prefs.getString("store_public_key", null)); return prefs.getString("store_public_key", null); //return BASE64_PUBLIC_KEY; @@ -81,7 +81,7 @@ public byte[] getSALT() { */ @Override public String getAlarmReceiverClassName() { - Log.d("GODOT", "getAlarmReceiverClassName()"); + Log.d("REDOT", "getAlarmReceiverClassName()"); return GodotDownloaderAlarmReceiver.class.getName(); } } diff --git a/platform/android/java/lib/src/org/godotengine/godot/utils/GodotNetUtils.java b/platform/android/java/lib/src/org/godotengine/godot/utils/GodotNetUtils.java index 0bbb2b68cda..779b0c46ef5 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/utils/GodotNetUtils.java +++ b/platform/android/java/lib/src/org/godotengine/godot/utils/GodotNetUtils.java @@ -71,7 +71,7 @@ public void multicastLockAcquire() { try { multicastLock.acquire(); } catch (RuntimeException e) { - Log.e("Godot", "Exception during multicast lock acquire: " + e); + Log.e("Redot", "Exception during multicast lock acquire: " + e); } } @@ -85,7 +85,7 @@ public void multicastLockRelease() { try { multicastLock.release(); } catch (RuntimeException e) { - Log.e("Godot", "Exception during multicast lock release: " + e); + Log.e("Redot", "Exception during multicast lock release: " + e); } } @@ -114,7 +114,7 @@ public void multicastLockRelease() { } return writer.toString(); } catch (Exception e) { - Log.e("Godot", "Exception while reading CA certificates: " + e); + Log.e("Redot", "Exception while reading CA certificates: " + e); return ""; } }