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

Commit 6ecf3d16 authored by Adam Powell's avatar Adam Powell
Browse files

Fix bug 3292288 - Make Action Bar trap taps

Change-Id: I517855fb6cc50171dc247ede4537ed8ec58d7c91
parent 627ea2f2
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package com.android.internal.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.FrameLayout;

/**
@@ -39,4 +40,10 @@ public class ActionBarContainer extends FrameLayout {
        setBackgroundDrawable(a.getDrawable(com.android.internal.R.styleable.ActionBar_background));
        a.recycle();
    }

    @Override
    public boolean onTouchEvent(MotionEvent ev) {
        super.onTouchEvent(ev);
        return true;
    }
}