This reverts commit eebdff9fda.
java.lang.AbstractMethodError: abstract method "androidx.lifecycle.ViewModel androidx.lifecycle.ViewModelProvider$Factory.create(kotlin.reflect.KClass, androidx.lifecycle.viewmodel.CreationExtras)"
at androidx.lifecycle.viewmodel.ViewModelProviderImpl.getViewModel$lifecycle_viewmodel_release(ViewModelProviderImpl.kt:69)
at androidx.lifecycle.viewmodel.ViewModelProviderImpl.getViewModel$lifecycle_viewmodel_release$default(ViewModelProviderImpl.kt:47)
at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.android.kt:91)
at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.android.kt:109)
at leakcanary.internal.ViewModelClearedWatcher$Companion.install(ViewModelClearedWatcher.kt:61)
at leakcanary.internal.AndroidXFragmentDestroyWatcher.invoke(AndroidXFragmentDestroyWatcher.kt:66)
at leakcanary.internal.AndroidXFragmentDestroyWatcher.invoke(AndroidXFragmentDestroyWatcher.kt:25)
at leakcanary.FragmentAndViewModelWatcher$lifecycleCallbacks$1.onActivityCreated(FragmentAndViewModelWatcher.kt:59)
at android.app.Application.dispatchActivityCreated(Application.java:189)
at android.app.Activity.onCreate(Activity.java:936)
at androidx.core.app.ComponentActivity.onCreate(ComponentActivity.kt:73)
at androidx.activity.ComponentActivity.onCreate(ComponentActivity.java:359)
at androidx.fragment.app.FragmentActivity.onCreate(FragmentActivity.java:216)
at eu.faircode.email.ActivityBase.onCreate(ActivityBase.java:421)
at eu.faircode.email.ActivityMain.onCreate(ActivityMain.java:200)
at android.app.Activity.performCreate(Activity.java:5937)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 0
at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
at java.util.Objects.checkIndex(Objects.java:359)
at java.util.ArrayList.get(ArrayList.java:434)
at androidx.fragment.app.FragmentManager.prepareBackStackState(SourceFile:9)
at androidx.fragment.app.FragmentManager$PrepareBackStackTransitionState.generateOps(SourceFile:3)
at androidx.fragment.app.FragmentManager.generateOpsForPendingActions(SourceFile:34)
at androidx.fragment.app.FragmentManager.execPendingActions(SourceFile:9)
at androidx.fragment.app.FragmentManager$5.run(SourceFile:4)
at android.os.Handler.handleCallback(Handler.java:959)