Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ public class MaskableFrameLayout extends FrameLayout {
private Drawable mDrawableMask = null;
@Nullable
private Bitmap mFinalMask = null;
private boolean mAntiAliasing = false;

//Drawing props
private Paint mPaint = null;
Expand All @@ -80,9 +79,7 @@ public MaskableFrameLayout(Context context, AttributeSet attrs, int defStyle) {
private void construct(Context context, AttributeSet attrs) {
mHandler = new Handler();
setDrawingCacheEnabled(true);
if (Build.VERSION.SDK_INT >= 11) {
setLayerType(LAYER_TYPE_SOFTWARE, null); //Only works for software layers
}
setLayerType(LAYER_TYPE_SOFTWARE, null); //Only works for software layers
mPaint = createPaint(false);
Resources.Theme theme = context.getTheme();
if (theme != null) {
Expand Down