forked from organicmaps/organicmaps
[android] Removed redundant logs
This commit is contained in:
parent
750ff58c39
commit
3a64db3cb2
3 changed files with 6 additions and 8 deletions
|
@ -255,8 +255,7 @@ public class MapFragment extends BaseMwmFragment
|
|||
void destroySurface()
|
||||
{
|
||||
LOGGER.d(TAG, "destroySurface, mSurfaceCreated = " + mSurfaceCreated +
|
||||
", mSurfaceAttached = " + mSurfaceAttached + ", isAdded = " + isAdded(),
|
||||
new Throwable());
|
||||
", mSurfaceAttached = " + mSurfaceAttached + ", isAdded = " + isAdded());
|
||||
if (!mSurfaceCreated || !mSurfaceAttached || !isAdded())
|
||||
return;
|
||||
|
||||
|
|
|
@ -7,10 +7,6 @@ import android.support.annotation.NonNull;
|
|||
import android.support.annotation.Nullable;
|
||||
import android.text.TextUtils;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
import com.mapswithme.maps.Framework;
|
||||
import com.mapswithme.maps.MwmApplication;
|
||||
import com.mapswithme.maps.R;
|
||||
|
@ -20,6 +16,10 @@ import com.mapswithme.util.log.Logger;
|
|||
import com.mapswithme.util.log.LoggerFactory;
|
||||
import com.mapswithme.util.statistics.Statistics;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* {@code TtsPlayer} class manages available TTS voice languages.
|
||||
* Single TTS language is described by {@link LanguageData} item.
|
||||
|
@ -237,7 +237,7 @@ public enum TtsPlayer
|
|||
outList.add(new LanguageData(codes[i], names[i], mTts));
|
||||
}
|
||||
catch (LanguageData.NotAvailableException ignored) {
|
||||
LOGGER.e(TAG, "Failed to get usable languages", ignored);
|
||||
LOGGER.e(TAG, "Failed to get usable languages " + ignored.getMessage());
|
||||
}
|
||||
catch (IllegalArgumentException e)
|
||||
{
|
||||
|
|
|
@ -392,7 +392,6 @@ public class BottomSheetPlacePageController implements PlacePageController, Loca
|
|||
public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int
|
||||
oldTop, int oldRight, int oldBottom)
|
||||
{
|
||||
LOGGER.d(TAG, "Layout changed, current state = " + toString(mPlacePageBehavior.getState()));
|
||||
if (mPlacePageBehavior.getPeekHeight() == 0)
|
||||
{
|
||||
LOGGER.d(TAG, "Layout change ignored, peek height not calculated yet");
|
||||
|
|
Loading…
Add table
Reference in a new issue