diff --git a/android/src/com/mapswithme/maps/bookmarks/BookmarksCatalogActivity.java b/android/src/com/mapswithme/maps/bookmarks/BookmarksCatalogActivity.java index 68194dd7ba..0c3be84a49 100644 --- a/android/src/com/mapswithme/maps/bookmarks/BookmarksCatalogActivity.java +++ b/android/src/com/mapswithme/maps/bookmarks/BookmarksCatalogActivity.java @@ -6,11 +6,8 @@ import android.content.Intent; import android.support.annotation.NonNull; import android.support.v4.app.Fragment; -import com.mapswithme.maps.base.BaseMwmFragment; import com.mapswithme.maps.base.BaseToolbarActivity; -import com.mapswithme.maps.base.OnBackPressListener; import com.mapswithme.maps.bookmarks.data.BookmarkManager; -import com.mapswithme.util.Utils; public class BookmarksCatalogActivity extends BaseToolbarActivity { diff --git a/android/src/com/mapswithme/maps/purchase/BookmarkPaymentActivity.java b/android/src/com/mapswithme/maps/purchase/BookmarkPaymentActivity.java index dc679c7ae4..7086bd3ec7 100644 --- a/android/src/com/mapswithme/maps/purchase/BookmarkPaymentActivity.java +++ b/android/src/com/mapswithme/maps/purchase/BookmarkPaymentActivity.java @@ -6,9 +6,7 @@ import android.support.annotation.NonNull; import android.support.v4.app.Fragment; import com.mapswithme.maps.base.BaseMwmFragmentActivity; -import com.mapswithme.maps.base.OnBackPressListener; import com.mapswithme.maps.bookmarks.data.PaymentData; -import com.mapswithme.util.Utils; public class BookmarkPaymentActivity extends BaseMwmFragmentActivity { @@ -27,10 +25,4 @@ public class BookmarkPaymentActivity extends BaseMwmFragmentActivity { return BookmarkPaymentFragment.class; } - - @Override - protected boolean onBackPressedInternal(@NonNull Fragment currentFragment) - { - return Utils.castTo(currentFragment).onBackPressed(); - } }