mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 04:46:51 +01:00
Dashboard: Prevent crash on draw after onSaveInstanceState (#4007)
This commit is contained in:
parent
bfde77fb3a
commit
f746ef42f3
@ -315,7 +315,7 @@ public class DashboardFragment extends Fragment implements MenuProvider {
|
|||||||
getChildFragmentManager()
|
getChildFragmentManager()
|
||||||
.beginTransaction()
|
.beginTransaction()
|
||||||
.replace(fragmentId, widgetObj)
|
.replace(fragmentId, widgetObj)
|
||||||
.commit();
|
.commitAllowingStateLoss(); // FIXME: #4007
|
||||||
|
|
||||||
GridLayout.LayoutParams layoutParams = new GridLayout.LayoutParams(
|
GridLayout.LayoutParams layoutParams = new GridLayout.LayoutParams(
|
||||||
GridLayout.spec(GridLayout.UNDEFINED, GridLayout.FILL, 1f),
|
GridLayout.spec(GridLayout.UNDEFINED, GridLayout.FILL, 1f),
|
||||||
|
Loading…
Reference in New Issue
Block a user