Skip to content

Commit

Permalink
Fix android logger Godot references to Redot
Browse files Browse the repository at this point in the history
  • Loading branch information
Spartan322 committed Nov 14, 2024
1 parent 71193c7 commit 97a044f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
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 97a044f

Please sign in to comment.