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

Commit 91137abe authored by Scott Hancher's avatar Scott Hancher Committed by Josh Guilfoyle
Browse files

Don't pass Filmstrip attrs to composite widgets. Seems to resolve config change crash.

parent 5f981a58
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -253,9 +253,9 @@ public class Filmstrip extends RelativeLayout {
		TypedArray a = 
            context.obtainStyledAttributes(attrs, R.styleable.Filmstrip, defStyle, 0);
				
		mFilmstripSelector = new Gallery(context, attrs);
		mLeftArrow = new ImageView(context, attrs);
		mRightArrow = new ImageView(context, attrs);
		mFilmstripSelector = new Gallery(context);
		mLeftArrow = new ImageView(context);
		mRightArrow = new ImageView(context);
		mFilmstripItems = new ArrayList<FilmstripItem>();
		mFilmstripTitleAdapter = new FilmstripTitleAdapter();
		mFilmstripOnItemSelectedListener = new FilmstripOnItemSelectedListener();