mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-13 22:15:26 +00:00
Merge branch 'bug4995'
This commit is contained in:
commit
b88d86aac2
1 file changed
+1
-5
+1
-5
@@ -194,11 +194,7 @@ public abstract class SendingServiceAwareActivity extends ResilientActivity
|
||||
@Override
|
||||
public void onException(Exception exception) {
|
||||
if (exception == null || exception instanceof UnauthorizedException) {
|
||||
Context context = this;
|
||||
if (getSupportActionBar() != null) {
|
||||
context = getSupportActionBar().getThemedContext();
|
||||
}
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(context);
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
||||
builder.setTitle(getString(R.string.sending_exception_title));
|
||||
builder.setMessage(getString(R.string.sending_exception_message));
|
||||
builder.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
|
||||
|
||||
Reference in new issue
Block a user