Fix compilation
This commit is contained in:
parent
96b2314e15
commit
8e2b5a72f0
3 changed files with 6 additions and 6 deletions
|
@ -40,7 +40,7 @@ import java.util.LinkedHashMap;
|
|||
import static net.osmand.plus.activities.PluginInfoFragment.PLUGIN_INFO;
|
||||
import static net.osmand.plus.monitoring.OsmandMonitoringPlugin.MINUTES;
|
||||
import static net.osmand.plus.monitoring.OsmandMonitoringPlugin.SECONDS;
|
||||
import static net.osmand.plus.monitoring.TripRecordingStartingBottomSheet.UPDATE_LOGGING_INTERVAL;
|
||||
import static net.osmand.plus.monitoring.TripRecordingStartingBottomFragment.UPDATE_LOGGING_INTERVAL;
|
||||
import static net.osmand.plus.myplaces.FavoritesActivity.TAB_ID;
|
||||
import static net.osmand.plus.settings.backend.OsmandSettings.MONTHLY_DIRECTORY;
|
||||
import static net.osmand.plus.settings.backend.OsmandSettings.REC_DIRECTORY;
|
||||
|
@ -300,8 +300,8 @@ public class MonitoringSettingsFragment extends BaseSettingsFragment
|
|||
FragmentActivity activity = getActivity();
|
||||
if (activity != null && !activity.isChangingConfigurations()) {
|
||||
Fragment target = getTargetFragment();
|
||||
if (target instanceof TripRecordingStartingBottomSheet) {
|
||||
((TripRecordingStartingBottomSheet) target).show(UPDATE_LOGGING_INTERVAL);
|
||||
if (target instanceof TripRecordingStartingBottomFragment) {
|
||||
((TripRecordingStartingBottomFragment) target).show(UPDATE_LOGGING_INTERVAL);
|
||||
}
|
||||
}
|
||||
super.onDestroy();
|
||||
|
|
|
@ -151,7 +151,7 @@ public class TripRecordingBottomFragment extends MenuBottomSheetDialogFragment i
|
|||
LinearLayout showTrackContainer = itemView.findViewById(R.id.show_track_on_map);
|
||||
trackAppearanceIcon = showTrackContainer.findViewById(R.id.additional_button_icon);
|
||||
createShowTrackItem(showTrackContainer, trackAppearanceIcon, ItemType.SHOW_TRACK.getTitleId(),
|
||||
TripRecordingActiveBottomSheet.this, nightMode, new Runnable() {
|
||||
TripRecordingBottomFragment.this, nightMode, new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
hide();
|
||||
|
|
|
@ -93,7 +93,7 @@ public class TripRecordingStartingBottomFragment extends MenuBottomSheetDialogFr
|
|||
LinearLayout showTrackContainer = itemView.findViewById(R.id.show_track_on_map);
|
||||
trackAppearanceIcon = showTrackContainer.findViewById(R.id.additional_button_icon);
|
||||
createShowTrackItem(showTrackContainer, trackAppearanceIcon, R.string.shared_string_show_on_map,
|
||||
TripRecordingStartingBottomSheet.this, nightMode, new Runnable() {
|
||||
TripRecordingStartingBottomFragment.this, nightMode, new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
hide();
|
||||
|
@ -132,7 +132,7 @@ public class TripRecordingStartingBottomFragment extends MenuBottomSheetDialogFr
|
|||
if (mapActivity != null) {
|
||||
hide();
|
||||
BaseSettingsFragment.showInstance(mapActivity, SettingsScreenType.MONITORING_SETTINGS,
|
||||
null, new Bundle(), TripRecordingStartingBottomSheet.this);
|
||||
null, new Bundle(), TripRecordingStartingBottomFragment.this);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue