Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e27815e3 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Fixing wrong method name

Change-Id: Idabe5d8ee41f31d30dcbe03aa626f7b39f713c14
parent 48d96026
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ public abstract class BaseContainerView extends FrameLayout {
        super(context, attrs, defStyleAttr);

        int width = ((Launcher) context).getDeviceProfile().availableWidthPx;
        mHorizontalPadding = DeviceProfile.getMaxContainerWidth(context, width);
        mHorizontalPadding = DeviceProfile.getContainerPadding(context, width);

        TypedArray a = context.obtainStyledAttributes(attrs,
                R.styleable.BaseContainerView, defStyleAttr, 0);
+1 −1
Original line number Diff line number Diff line
@@ -596,7 +596,7 @@ public class DeviceProfile {
    }


    public static final int getMaxContainerWidth(Context context, int availableWidth) {
    public static final int getContainerPadding(Context context, int availableWidth) {
        Resources res = context.getResources();

        int maxSize = res.getDimensionPixelSize(R.dimen.container_max_width);