Rename method, as it no longer involves a notification.

This commit is contained in:
akwizgran
2021-07-13 15:55:29 +01:00
parent 4ef92f1c39
commit 6a909b6c5c

View File

@@ -147,7 +147,7 @@ public class BriarService extends Service {
} else { } else {
if (LOG.isLoggable(WARNING)) if (LOG.isLoggable(WARNING))
LOG.warning("Startup failed: " + result); LOG.warning("Startup failed: " + result);
showStartupFailureNotification(result); showStartupFailure(result);
stopSelf(); stopSelf();
} }
}, "LifecycleStartup"); }, "LifecycleStartup");
@@ -173,7 +173,7 @@ public class BriarService extends Service {
Localizer.getInstance().setLocale(this); Localizer.getInstance().setLocale(this);
} }
private void showStartupFailureNotification(StartResult result) { private void showStartupFailure(StartResult result) {
androidExecutor.runOnUiThread(() -> { androidExecutor.runOnUiThread(() -> {
// Bring the entry activity to the front to clear the back stack // Bring the entry activity to the front to clear the back stack
Intent i = new Intent(BriarService.this, ENTRY_ACTIVITY); Intent i = new Intent(BriarService.this, ENTRY_ACTIVITY);