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

Commit c44db4eb authored by Sergey Nikolaienkov's avatar Sergey Nikolaienkov
Browse files

Add PipControlsView constructors

PipControlsView is lacking contructors that are used to initiate the
object when inflating from an xmk layout file. Fixing it by adding 2 new
contructors.

Bug: 153428630
Test: manually
Change-Id: I852aa18d2044e50e0ddee6f2a9dc65dc0d8b3a37
parent d0e41326
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -30,6 +30,14 @@ import com.android.systemui.R;
 */
public class PipControlsView extends LinearLayout {

    public PipControlsView(Context context, AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public PipControlsView(Context context, AttributeSet attrs, int defStyleAttr) {
        this(context, attrs, defStyleAttr, 0);
    }

    public PipControlsView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
        super(context, attrs, defStyleAttr, defStyleRes);
        LayoutInflater layoutInflater = (LayoutInflater) getContext().getSystemService(