Bug 1358592 - Dynamic Toolbar v3 breaks back button rendering on android tablets r=esawin
MozReview-Commit-ID: 8shpFf49zRG
--- a/mobile/android/base/java/org/mozilla/gecko/toolbar/BackButton.java
+++ b/mobile/android/base/java/org/mozilla/gecko/toolbar/BackButton.java
@@ -13,14 +13,15 @@ public class BackButton extends NavButto
super(context, attrs);
}
@Override
protected void onSizeChanged(int width, int height, int oldWidth, int oldHeight) {
super.onSizeChanged(width, height, oldWidth, oldHeight);
mPath.reset();
+ mPath.setFillType(Path.FillType.INVERSE_EVEN_ODD);
mPath.addCircle(width / 2, height / 2, width / 2, Path.Direction.CW);
mBorderPath.reset();
mBorderPath.addCircle(width / 2, height / 2, (width / 2) - (mBorderWidth / 2), Path.Direction.CW);
}
}