mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Remove unused logs
This commit is contained in:
parent
e0464fa84d
commit
0ec470bfd1
3 changed files with 0 additions and 8 deletions
|
|
@ -127,7 +127,6 @@ public class NearbyMapFragment extends CommonsDaggerSupportFragment implements N
|
|||
|
||||
@Override
|
||||
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
|
||||
Log.d("deneme2", "onViewCreated is called");
|
||||
super.onViewCreated(view, savedInstanceState);
|
||||
this.getView().setFocusableInTouchMode(true);
|
||||
this.getView().requestFocus();
|
||||
|
|
@ -152,12 +151,10 @@ public class NearbyMapFragment extends CommonsDaggerSupportFragment implements N
|
|||
public void onAttach(Context context) {
|
||||
super.onAttach(context);
|
||||
((NearbyParentFragment)getParentFragment()).childMapFragmentAttached();
|
||||
Log.d("deneme2", ".childMapFragmentAttached() is fired");
|
||||
}
|
||||
|
||||
@Override
|
||||
public MapView setupMapView(Bundle savedInstanceState) {
|
||||
Log.d("deneme2", "setuo map view is called");
|
||||
Timber.d("setting up map view");
|
||||
boolean isDarkTheme = applicationKvStore.getBoolean("theme", false);
|
||||
MapboxMapOptions options = new MapboxMapOptions()
|
||||
|
|
@ -191,7 +188,6 @@ public class NearbyMapFragment extends CommonsDaggerSupportFragment implements N
|
|||
// create map
|
||||
mapView.onCreate(savedInstanceState);
|
||||
mapView.getMapAsync(mapboxMap -> {
|
||||
Log.d("deneme2","nearby map is ready");
|
||||
viewsAreReadyCallback.nearbyMapViewReady();
|
||||
/*LocalizationPlugin localizationPlugin = new LocalizationPlugin(mapView, mapboxMap);
|
||||
|
||||
|
|
|
|||
|
|
@ -118,7 +118,6 @@ public class NearbyParentFragment extends CommonsDaggerSupportFragment
|
|||
@Override
|
||||
public void onConfigurationChanged(@NonNull Configuration newConfig) {
|
||||
super.onConfigurationChanged(newConfig);
|
||||
Log.d("deneme3","oncongi changed fragmenr"+this);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
|
|
|||
|
|
@ -122,7 +122,6 @@ public class NearbyParentFragmentPresenter
|
|||
*/
|
||||
@Override
|
||||
public void nearbyMapViewReady() {
|
||||
Log.d("deneme2","nearbyMapViewReady");
|
||||
nearbyMapViewReady = true;
|
||||
if (nearbyOperationsInitialized) {
|
||||
initializeMapOperations();
|
||||
|
|
@ -130,7 +129,6 @@ public class NearbyParentFragmentPresenter
|
|||
}
|
||||
|
||||
public void nearbyOperationsInitialized() {
|
||||
Log.d("deneme2","nearbyOperationsInitialized");
|
||||
nearbyOperationsInitialized = true;
|
||||
if (nearbyMapViewReady) {
|
||||
initializeMapOperations();
|
||||
|
|
@ -138,7 +136,6 @@ public class NearbyParentFragmentPresenter
|
|||
}
|
||||
|
||||
public void initializeMapOperations() {
|
||||
Log.d("deneme2","initializeMapOperations");
|
||||
Timber.d("Nearby map view is created and ready");
|
||||
updateMapAndList(LOCATION_SIGNIFICANTLY_CHANGED, null);
|
||||
// TODO: document this prpoblem, if updateMapAndList is not called at checkGPS then this method never called, setup map view never ends
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue