@IntDef is switching from long to int values
This cast will be necessary when the @IntDef annotation values changes type from long to int, and the cast is safe because the value is itself not used at all (this is a source retention annotation, and the static analyzer is using the field reference itself, not the value -- that's the whole point of this annotation.) Test: The compiler Change-Id: I88d2fd238c9b405a8140e06d5d8185596236ae38
Loading
Please register or sign in to comment