mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-30 01:16:40 +00:00
coding convention (braces)
Change-Id: I4e2e2b30a26cde07d89fd447db5c954fb53add33
This commit is contained in:
+2
-4
@@ -45,11 +45,8 @@ public class TrackingFragment extends BaseFragment {
|
||||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
||||
super.onCreateView(inflater, container, savedInstanceState);
|
||||
|
||||
ViewGroup view = (ViewGroup) inflater.inflate(R.layout.fragment_tracking, container, false);
|
||||
|
||||
prefs = new AppPreferences(getActivity());
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
@@ -70,8 +67,9 @@ public class TrackingFragment extends BaseFragment {
|
||||
}
|
||||
};
|
||||
getActivity().registerReceiver(gpsDisabledReceiver,filter);
|
||||
if(!isLocationEnabled(getActivity()))
|
||||
if (!isLocationEnabled(getActivity())) {
|
||||
LocationHelper.showNoGPSError(getActivity(), getString(R.string.enable_gps));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user