square / assertj-android

A set of AssertJ helpers geared toward testing Android.
https://square.github.io/assertj-android/
Apache License 2.0
1.58k stars 156 forks source link

IntenAssert.hasFlags failure with API 21 #139

Open emartynov opened 9 years ago

emartynov commented 9 years ago

It looks like with API 21 some of receiver flags have same values as activities flags (FLAG_RECEIVER_NO_ABORT, FLAG_ACTIVITY_MULTIPLE_TASK for example). This actually breaks BitMaskStringBuilder since it expects unique values.