mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 13:19:52 +01:00
Rename method, as it no longer involves a notification.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user