Skip to content

Commit

Permalink
Merge pull request #673 from juliansteenbakker/make-initializeAttribu…
Browse files Browse the repository at this point in the history
…tes-public

imp: make initializeAttributes public
  • Loading branch information
rkistner authored Nov 17, 2021
2 parents aa129af + 1c27c8f commit c752130
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ protected void onAttachedToWindow() {
*
* @param attrs the attributes
*/
protected void initializeAttributes(AttributeSet attrs) {
public void initializeAttributes(AttributeSet attrs) {
TypedArray styledAttributes = getContext().obtainStyledAttributes(attrs, R.styleable.zxing_camera_preview);

int framingRectWidth = (int) styledAttributes.getDimension(R.styleable.zxing_camera_preview_zxing_framing_rect_width, -1);
Expand Down

0 comments on commit c752130

Please sign in to comment.