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

Commit 5db68ed3 authored by Kedi Xu's avatar Kedi Xu
Browse files

SnapdragonGallery: fix gallery crash commit after onSaveInstanceState

When gallery in crop, background, then rotate the screen will cause gallery
crash. Change commit to commitAllowingStateLoss

Change-Id: Ia48b93d5bf1f1ae59dca6d6807686a79157bc593
CRs-Fixed: 1052697
parent 933ff5d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -467,7 +467,7 @@ public class FilterShowActivity extends FragmentActivity implements OnItemClickL
                        MainPanel.FRAGMENT_TAG));
                transaction.replace(R.id.main_panel_container, panel,
                        MainPanel.FRAGMENT_TAG);
                transaction.commit();
                transaction.commitAllowingStateLoss();
            }
        }.run();
    }