Verified Commit d37cede7 authored by clairehurst's avatar clairehurst 🌱 Committed by Pier Angelo Vendrame
Browse files

fixup! TB 41878: [android] Add standalone Tor Bootstrap

Bug 43368: Add @Suppress for linting error "Overriding method should call super. onNewIntent"
parent f5d250c1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@

package org.mozilla.fenix

import android.annotation.SuppressLint
import android.app.assist.AssistContent
import android.app.PendingIntent
import android.content.Context
@@ -685,6 +686,7 @@ open class HomeActivity : LocaleAwareAppCompatActivity(), NavHostActivity {
    /**
     * Handles intents received when the activity is open.
     */
    @SuppressLint("MissingSuperCall") // super.onNewIntent is called in [onNewIntentInternal(intent)]
    final override fun onNewIntent(intent: Intent?) {
        if (intent?.action == ACTION_MAIN || components.torController.isConnected) {
            onNewIntentInternal(intent)