Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a5c17ea authored by Sayantan Roychowdhury's avatar Sayantan Roychowdhury
Browse files

issue_5680_3.1: TimeoutFragment2 lint fixes

parent 276feaa4
Loading
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@ import androidx.core.view.isVisible
import androidx.fragment.app.Fragment
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.lifecycleScope
import foundation.e.apps.R
import foundation.e.apps.databinding.DialogErrorLogBinding
import foundation.e.apps.login.AuthObject
@@ -16,7 +15,6 @@ import foundation.e.apps.utils.exceptions.CleanApkException
import foundation.e.apps.utils.exceptions.GPlayException
import foundation.e.apps.utils.exceptions.GPlayValidationException
import foundation.e.apps.utils.exceptions.UnknownSourceException
import kotlinx.coroutines.launch

/**
 * Parent class of all fragments.
@@ -109,8 +107,6 @@ abstract class TimeoutFragment2(@LayoutRes layoutId: Int) : Fragment(layoutId) {
        predefinedDialog: AlertDialog.Builder,
    ): AlertDialog.Builder?



    /**
     * Crucial to call this, other wise fragments will never receive any authentications.
     */
@@ -147,7 +143,6 @@ abstract class TimeoutFragment2(@LayoutRes layoutId: Int) : Fragment(layoutId) {
        }
    }


    /**
     * Call to trigger [onTimeout].
     * Can be called from anywhere in the fragment.
@@ -194,7 +189,6 @@ abstract class TimeoutFragment2(@LayoutRes layoutId: Int) : Fragment(layoutId) {
        }
    }


    /**
     * Call to trigger [onSignInError].
     * Only works if last loginUiAction was a failure case. Else nothing happens.