fix app crashing when fragment has saved state
This commit is contained in:
parent
789000429a
commit
86e435d1e3
1 changed files with 6 additions and 0 deletions
|
@ -71,6 +71,12 @@ diff -crBN from/smali/com/cutthecord/refreshView.smali to/smali/com/cutthecord/r
|
|||
+
|
||||
+ if-eqz v0, :cond_0
|
||||
+
|
||||
+ invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->isStateSaved()Z
|
||||
+
|
||||
+ move-result v1
|
||||
+
|
||||
+ if-nez v1, :cond_0
|
||||
+
|
||||
+ invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getFragmentManager()Landroidx/fragment/app/FragmentManager;
|
||||
+
|
||||
+ move-result-object v1
|
||||
|
|
Reference in a new issue