code clean up in tos activity

This commit is contained in:
Daniel Gultsch 2021-01-19 13:53:47 +01:00
parent 87e9b8037e
commit 624bb565a8
1 changed files with 2 additions and 5 deletions

View File

@ -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);
}