mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-27 06:17:27 +00:00
RCApp: changed version for getChildFragmentManager()
This commit is contained in:
1 parent
e76f0d9555
commit
3566773e55
1 file changed
+1
-1
+1
-1
@@ -132,7 +132,7 @@ public class WindFragment extends LoggableFragment implements CompassDirectionLi
|
||||
et_location = (EditText) windFragmentView.findViewById(R.id.et_location);
|
||||
|
||||
FragmentManager fragmentManager;
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
fragmentManager = getChildFragmentManager();
|
||||
} else {
|
||||
fragmentManager = getActivity().getFragmentManager();
|
||||
|
||||
Reference in new issue
Block a user