mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +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
|
@Override
|
||||||
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
|
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
|
||||||
Log.d("deneme2", "onViewCreated is called");
|
|
||||||
super.onViewCreated(view, savedInstanceState);
|
super.onViewCreated(view, savedInstanceState);
|
||||||
this.getView().setFocusableInTouchMode(true);
|
this.getView().setFocusableInTouchMode(true);
|
||||||
this.getView().requestFocus();
|
this.getView().requestFocus();
|
||||||
|
|
@ -152,12 +151,10 @@ public class NearbyMapFragment extends CommonsDaggerSupportFragment implements N
|
||||||
public void onAttach(Context context) {
|
public void onAttach(Context context) {
|
||||||
super.onAttach(context);
|
super.onAttach(context);
|
||||||
((NearbyParentFragment)getParentFragment()).childMapFragmentAttached();
|
((NearbyParentFragment)getParentFragment()).childMapFragmentAttached();
|
||||||
Log.d("deneme2", ".childMapFragmentAttached() is fired");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public MapView setupMapView(Bundle savedInstanceState) {
|
public MapView setupMapView(Bundle savedInstanceState) {
|
||||||
Log.d("deneme2", "setuo map view is called");
|
|
||||||
Timber.d("setting up map view");
|
Timber.d("setting up map view");
|
||||||
boolean isDarkTheme = applicationKvStore.getBoolean("theme", false);
|
boolean isDarkTheme = applicationKvStore.getBoolean("theme", false);
|
||||||
MapboxMapOptions options = new MapboxMapOptions()
|
MapboxMapOptions options = new MapboxMapOptions()
|
||||||
|
|
@ -191,7 +188,6 @@ public class NearbyMapFragment extends CommonsDaggerSupportFragment implements N
|
||||||
// create map
|
// create map
|
||||||
mapView.onCreate(savedInstanceState);
|
mapView.onCreate(savedInstanceState);
|
||||||
mapView.getMapAsync(mapboxMap -> {
|
mapView.getMapAsync(mapboxMap -> {
|
||||||
Log.d("deneme2","nearby map is ready");
|
|
||||||
viewsAreReadyCallback.nearbyMapViewReady();
|
viewsAreReadyCallback.nearbyMapViewReady();
|
||||||
/*LocalizationPlugin localizationPlugin = new LocalizationPlugin(mapView, mapboxMap);
|
/*LocalizationPlugin localizationPlugin = new LocalizationPlugin(mapView, mapboxMap);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,6 @@ public class NearbyParentFragment extends CommonsDaggerSupportFragment
|
||||||
@Override
|
@Override
|
||||||
public void onConfigurationChanged(@NonNull Configuration newConfig) {
|
public void onConfigurationChanged(@NonNull Configuration newConfig) {
|
||||||
super.onConfigurationChanged(newConfig);
|
super.onConfigurationChanged(newConfig);
|
||||||
Log.d("deneme3","oncongi changed fragmenr"+this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,6 @@ public class NearbyParentFragmentPresenter
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void nearbyMapViewReady() {
|
public void nearbyMapViewReady() {
|
||||||
Log.d("deneme2","nearbyMapViewReady");
|
|
||||||
nearbyMapViewReady = true;
|
nearbyMapViewReady = true;
|
||||||
if (nearbyOperationsInitialized) {
|
if (nearbyOperationsInitialized) {
|
||||||
initializeMapOperations();
|
initializeMapOperations();
|
||||||
|
|
@ -130,7 +129,6 @@ public class NearbyParentFragmentPresenter
|
||||||
}
|
}
|
||||||
|
|
||||||
public void nearbyOperationsInitialized() {
|
public void nearbyOperationsInitialized() {
|
||||||
Log.d("deneme2","nearbyOperationsInitialized");
|
|
||||||
nearbyOperationsInitialized = true;
|
nearbyOperationsInitialized = true;
|
||||||
if (nearbyMapViewReady) {
|
if (nearbyMapViewReady) {
|
||||||
initializeMapOperations();
|
initializeMapOperations();
|
||||||
|
|
@ -138,7 +136,6 @@ public class NearbyParentFragmentPresenter
|
||||||
}
|
}
|
||||||
|
|
||||||
public void initializeMapOperations() {
|
public void initializeMapOperations() {
|
||||||
Log.d("deneme2","initializeMapOperations");
|
|
||||||
Timber.d("Nearby map view is created and ready");
|
Timber.d("Nearby map view is created and ready");
|
||||||
updateMapAndList(LOCATION_SIGNIFICANTLY_CHANGED, null);
|
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
|
// 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