Skip to content

Commit

Permalink
Fix android logger Godot references to Redot
Browse files Browse the repository at this point in the history
(cherry picked from commit 97a044f)
  • Loading branch information
Spartan322 committed Nov 14, 2024
1 parent d0c8dc7 commit b3ee373
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions platform/android/java/app/src/com/godot/game/GodotApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ public class GodotApp extends GodotActivity {
// .NET libraries.
if (BuildConfig.FLAVOR.equals("mono")) {
try {
Log.v("GODOT", "Loading System.Security.Cryptography.Native.Android library");
Log.v("REDOT", "Loading System.Security.Cryptography.Native.Android library");
System.loadLibrary("System.Security.Cryptography.Native.Android");
} catch (UnsatisfiedLinkError e) {
Log.e("GODOT", "Unable to load System.Security.Cryptography.Native.Android library");
Log.e("REDOT", "Unable to load System.Security.Cryptography.Native.Android library");
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -81,7 +81,7 @@ public byte[] getSALT() {
*/
@Override
public String getAlarmReceiverClassName() {
Log.d("GODOT", "getAlarmReceiverClassName()");
Log.d("REDOT", "getAlarmReceiverClassName()");
return GodotDownloaderAlarmReceiver.class.getName();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand All @@ -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);
}
}

Expand Down Expand Up @@ -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 "";
}
}
Expand Down

0 comments on commit b3ee373

Please sign in to comment.