From 624bb565a87b68ab9a94edfc7afbe19138f88074 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Tue, 19 Jan 2021 13:53:47 +0100 Subject: [PATCH] code clean up in tos activity --- .../java/eu/siacs/conversations/ui/TosActivity.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/quicksy/java/eu/siacs/conversations/ui/TosActivity.java b/src/quicksy/java/eu/siacs/conversations/ui/TosActivity.java index 21f06e794..eb2b77d9c 100644 --- a/src/quicksy/java/eu/siacs/conversations/ui/TosActivity.java +++ b/src/quicksy/java/eu/siacs/conversations/ui/TosActivity.java @@ -5,18 +5,14 @@ import android.content.SharedPreferences; import android.content.pm.ActivityInfo; import android.os.Bundle; import android.preference.PreferenceManager; -import androidx.appcompat.app.ActionBar; -import androidx.appcompat.app.AppCompatActivity; import android.text.Html; import android.text.method.LinkMovementMethod; import android.widget.Button; import android.widget.TextView; -import java.util.List; +import androidx.appcompat.app.ActionBar; import eu.siacs.conversations.R; -import eu.siacs.conversations.entities.Account; -import eu.siacs.conversations.utils.XmppUri; public class TosActivity extends XmppActivity { @@ -41,6 +37,7 @@ public class TosActivity extends XmppActivity { @Override public void onNewIntent(Intent intent) { + super.onNewIntent(intent); if (intent != null) { setIntent(intent); }