From dcf15a75ead19fc80215a5439fc3a22e8285b548 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Mon, 30 Aug 2021 19:17:11 +0300 Subject: [PATCH] typo in exception name --- .../ui/new_transaction/NewTransactionFragment.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionFragment.java b/app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionFragment.java index 9bcac1c8..b11945d2 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionFragment.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionFragment.java @@ -20,7 +20,6 @@ package net.ktnx.mobileledger.ui.new_transaction; import android.content.Context; import android.content.res.Resources; import android.os.Bundle; -import android.renderscript.RSInvalidStateException; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; @@ -128,7 +127,7 @@ public class NewTransactionFragment extends Fragment { super.onViewCreated(view, savedInstanceState); FragmentActivity activity = getActivity(); if (activity == null) - throw new RSInvalidStateException( + throw new IllegalStateException( "getActivity() returned null within onActivityCreated()"); viewModel = new ViewModelProvider(activity).get(NewTransactionModel.class); -- 2.39.2