Remove non used method

This commit is contained in:
Dima-1 2020-04-30 20:17:30 +03:00
parent a5c802f632
commit 3543cf9f1f
2 changed files with 1 additions and 5 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/bg_color" android:background="?attr/bg_color"
android:descendantFocusability="blocksDescendants" android:descendantFocusability="blocksDescendants"

View file

@ -701,10 +701,6 @@ public class LiveUpdatesFragment extends BaseOsmAndFragment implements InAppPurc
adapter.notifyDataSetChanged(); adapter.notifyDataSetChanged();
} }
public static float dpToPx(final Context context, final float dp) {
return dp * context.getResources().getDisplayMetrics().density;
}
@Override @Override
public void onError(InAppPurchaseTaskType taskType, String error) { public void onError(InAppPurchaseTaskType taskType, String error) {
disableProgress(); disableProgress();